vb: how to read webpage content / source code?
This site provides users with the information about vb, visual basic, vb6, read webpage content, get web page source code, how to read webpage content, how to get webpage source code, retrieve webpage content, retrieve webpage source code, and more.
If you think that this site is helpful, please recommend your friends to visit our site.
How to read webpage contents / source code?
The following is the code to retrieve web page contents/ source code:
For getting the source code of a webpage, you need to use MS internet transfer control
'In Reference, Add Micrsoft Internet Transfer Control
Dim myURL As String
Inet1.URL = myURL
text1.Text = Inet1.OpenURL
'you can also add it to a text file and do whatever you want
'from the saved file