How do u use the inet control to download a web page, all the tutorials i find for the inet seem to be for the ftp protocol only.
thnx
Printable View
How do u use the inet control to download a web page, all the tutorials i find for the inet seem to be for the ftp protocol only.
thnx
Here you go:
Code:Private Sub Command1_Click()
Text1.Text = Inet1.OpenURL("http://forums.vb-world.net", icString)
ReturnStr = Inet1.GetChunk(2048, icString)
Do While Len(ReturnStr) <> 0
DoEvents
Text1.Text = Text1.Text & ReturnStr
ReturnStr = Inet1.GetChunk(2048, icString)
Loop
End Sub