VB6 Webclient

SIMIN

Well-known member
Joined
Mar 10, 2008
Messages
92
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?
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()
I need to something like this in VB6?
 
Last edited by a moderator:
I seem to remember VB6 having a winsock control (winsock.ocx and / or inet.ocx I think), - they would probably be the best starting point.
 
Back
Top