|
-
Sep 12th, 2000, 06:02 AM
#1
Thread Starter
Fanatic Member
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

-
Aug 22nd, 2001, 06:38 AM
#2
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|