extract html as string from WebBrowser Control?

HeavenCore

Well-known member
Joined
Apr 10, 2007
Messages
77
Location
Bolton, England
Programming Experience
1-3
Hi, i have a webbrowser control that points to an url address, the page is a list of orders for a website of a client, i want to take a copy of the pages html and dump it in a string, wen it refreshes do it again, compare the strings if different a new order must have been placed :D simple and easy i hope, so hows the easiest way to get the html into a string?

any help would rock :cool:

Regards

HC.
 
WebBrowser1.Document.Body.InnerHTML

Also if the thing is in a table, you can use indexes or IDs:

Webrowsers1.Document.Tables(0).InnerHTML
Webrowsers1.Document.Tables("ordersTable").InnerHTML
 
Back
Top