faqts : Computers : Programming : Languages : Visual basic

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

12 of 16 people (75%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

How do I get the html source code of a page using the webbrowser control?

Oct 19th, 2006 03:28
Chad Currie, http://www.blogvoid.com/


To store the html source code of a page using the webbrowser control 
you simply assign it to a variable:
myhtml = WebBrowser1.Document.body.InnerHTML