Results 1 to 4 of 4

Thread: Content of an HTML file

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545

    Content of an HTML file

    How do you get the content or source code of a HTML file?

    I am using ie_WebBrowser.Document.Body.Innerhtml. That only gives me everything between the body tags. I need everything between the <HTML> tag.

    Thanks
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

  2. #2
    Hyperactive Member
    Join Date
    Nov 2001
    Posts
    364
    try outerhtml

  3. #3
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240
    Hmmm... might not be possible, but you might try something like this:

    ie_WebBrowser.Document.HTML.Innerhtml

    Also, if you have any server-side capabilities, this isn't too hard to achieve.

    cudabean

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545
    Thanks for your replies but neither worked.

    Crptcblade helped me out with this WebBrowser1.Document.DocumentElement.Innerhtml.
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

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