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 19 people (63%) answered Yes
Recently 4 of 10 people (40%) 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