?
Solved

webbrowser control: Accessing the HTML of frames

Posted on 2000-02-24
3
Medium Priority
?
155 Views
Last Modified: 2013-12-26
I cant figure out how to access the html of frames in the web browser control in the document_complete event. The document available there is just the frameset document. I can get the number of frames with
document.frames.ItemCount (if I remember correctly)
but not a usable reference or the HTML of any of them. I've tried
document.frames.item(0), document.frames.item(1), etc.
but cant get anything at all from the resulting object.
For a non-framset document.body.outerHTML gets what I want - how can I get this for all of the frames inside a frameset document?
Thanks.
P.S.  I have to use this control and not the Internet Transfer Control or Winsock.
0
Comment
Question by:MikeThelwall
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
mcrider earned 400 total points
ID: 2554188
There is a complete example of walking through the frames in a WebBrowser control in http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=10295323 

When it walks through the frames, this example pulls out the HTML BODY...


Cheers!
0
 

Author Comment

by:MikeThelwall
ID: 2557377
You da man!!!
0
 
LVL 14

Expert Comment

by:mcrider
ID: 2557653
Thanks for the points! Glad I could help!


Cheers!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question