Link to home
Start Free TrialLog in
Avatar of matrix717
matrix717

asked on

how to get the html of a page using WebBrowser control

I'm using the WebBrowser control to open a web page, what I need is to see the html of that file.

How can I do this?
Avatar of JohnBPrice
JohnBPrice

WebBrowser1.document returns a IHTMLDocument, with which you can get everything.  The HTML for the <BODY, for example, is
WebBrowser1.document.body.outerhtml
ASKER CERTIFIED SOLUTION
Avatar of JohnBPrice
JohnBPrice

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial