Webbrowser.DocumentText

  • Thread starter Thread starter Kent Briggs
  • Start date Start date
K

Kent Briggs

How do I read the HTML text from a loaded web page? The help file says
this for the DocumentText property:

"Gets or sets the HTML contents of the page displayed in the WebBrowser
control."

But the VB 2005 compiler says this property is "writeonly" and won't let
me assign it to a string variable.
 
Hi!
In case of local html files you can use StreamReader or HttpWebRequest for
web pages.
Regards.
Sebastian
 
Back
Top