|
-
Jul 7th, 1999, 05:34 PM
#1
Thread Starter
Member
Does anyone know how to pull HTML code from a webpage using VB6?
Thanks for taking the time to read this!!
Lloyd
-
Jul 7th, 1999, 07:50 PM
#2
Lively Member
You can do it with two different controls in visual basic. You can try this code using the Microsoft Internet Transfer Control.
Private Sub Command1_Click()
Dim response As Variant
response = Inet1.OpenURL("http://www.linuxbox.com")
Text1.Text = response
End Sub
Or, you can use the Winsock Control (which is a better way of doing it) vb-world.net has a sample on doing this in their tips area, the url is: http://www.vb-world.net/tips/tip52.html, I hope this helps.
Ryan
-
Jul 7th, 1999, 09:04 PM
#3
Thread Starter
Member
Thanks, I appreciate it!!!
Lloyd
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|