VB6 Webclient


Mar 10, 2008
Sorry about misleading subject, I've edited my post!
I want to know what's the replacement for WebClient in VB6?
What should I do in VB6?
Visual Basic:
Dim MyClient As WebClient = New WebClient
Dim MyData As Stream = Nothing
Dim MyReader As StreamReader = Nothing
Dim MyResponse As String = Nothing
MyData = MyClient.OpenRead(MyString)
MyReader = New StreamReader(MyData)
MsgBox MyReader.ReadToEnd()
I need to something like this in VB6?
Last edited:
Top Bottom