Reply to thread

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=vb]

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()

[/code]

I need to something like this in VB6?


Back
Top