Webbrowser.DocumentText

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.
 
G

Guest

Hi!
In case of local html files you can use StreamReader or HttpWebRequest for
web pages.
Regards.
Sebastian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top