Results 1 to 2 of 2

Thread: Frames

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    879

    Smile

    How do you get the HTML of a frame. Example: I have a page called Frames.html which loads frame1.html and frame2.html. I want to get the innerhtml of frame2.html how do I do it without going to the frame itself ( I mean that I don't want to load frame2.html all by itself into my browser! I want to keep the frames.html page in my browser!)
    Visual Basic 6.0
    Visual C++ 5
    Delphi 5


  2. #2
    New Member
    Join Date
    Jun 2001
    Posts
    10
    Dim Doc As HTMLDocument
    Set Doc = WebBrowser1.Document.frames.Item(0).document ' or (1) or (2) etc
    Debug.Print Doc.documentElement.innerHTML

    A little more helpfull than the other posts I hope.
    Last edited by twoshorts; Aug 22nd, 2001 at 07:15 AM.

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