Results 1 to 3 of 3

Thread: Pulling HTML from a website using VB6

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 1999
    Posts
    44

    Post

    Does anyone know how to pull HTML code from a webpage using VB6?

    Thanks for taking the time to read this!!

    Lloyd

  2. #2
    Lively Member
    Join Date
    Jan 1999
    Location
    California
    Posts
    115

    Post

    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

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 1999
    Posts
    44

    Post

    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
  •  



Click Here to Expand Forum to Full Width