Results 1 to 3 of 3

Thread: View Page Source from Webbrowser

  1. #1

    Thread Starter
    Frenzied Member seoptimizer2001's Avatar
    Join Date
    Apr 2001
    Location
    Toledo, Ohio USA GMT -5
    Posts
    1,075

    Question View Page Source from Webbrowser

    Does anyone know how to load a page into the web browser and view the page source using only 1 request? It is very important that only one request be made because the data needs to be matched with an id number in the source. I can open a page in the browser and then get the source with the Inet control, but that uses 2 requests so things aren't matching up. Please help.

  2. #2
    Matthew Gates
    Guest
    Try this:


    Code:
    Text1.Text = WebBrowser1.Document.documentElement.innerHTML

  3. #3

    Thread Starter
    Frenzied Member seoptimizer2001's Avatar
    Join Date
    Apr 2001
    Location
    Toledo, Ohio USA GMT -5
    Posts
    1,075

    Talking

    Thank you, that is exactly what I was looking for.

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