Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining full HTML source from WebBrowser control
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00647241
Message ID:
00651745
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
Hi!

document.documentElement.innerHTML

See help about the documentElement property of the document object in MSDN, as well as a note there about the getting HTML of the complete document.

Hope this helps.

>Could someone please tell me what is the most straightforward way to get to the full HTML source of a web page once it is loaded into an instance of IE or a WebBrowser control? ...document.body.innerHTML and ...outerHTML don't include the header stuff between the outer HTML tags. I'm looking for a way to reference the entire text, as displayed by the View Source menu commands. Is there a simple way to get to this directly from the document object?
>
>TIA
>
>Mike
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform