Sorry about misleading subject, Ive edited my post!
I want to know whats the replacement for WebClient in VB6?
What should I do in VB6?
I need to something like this in VB6?
I want to know whats the replacement for WebClient in VB6?
What should I do in VB6?
Code:
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()
Last edited by a moderator: