WebBrowser control in vb.net.
Hi,
How can a get the text from WebBrowser control in vb.net.
Hi,
How can a get the text from WebBrowser control in vb.net.
Thread will be moved to the appropriate forum once the forums are back up and running again.
You can use the DocumentText property:
Dim theHtmlText as String = Me.theWebBrowserControl.DocumentText
or you can go into the Document property itself, there you can go into say the Body property to get the body part of the Html page.
I hope this link helps you/gives you more information about the control
http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx
http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowser.document.aspx
http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowser.documenttext.aspx