A
ask josephsen
Hi NewsGroup
Hope you can help me with this. I'm using the
"System.Windows.Forms.WebBrowser" to display a various markuplanguage. And
it works fine pointing the "WebBrowser.Url" to a local or remote uri. But
what I would actually like to do, is to download a webpage as a string,
analyze it, possibly modify it, and then display it on the WebBrowser -
without asking the WebBrowser to download it again. By the "HttpWebRequest"
I can easily retrieve the textual webpage and I assume you could replace the
"WebBrowser.document" with a new "Forms.HtmlDocument", made of the textual
webpage just downloaded. But I cant seem to make it work - how do I create a
new HtmlDocument from a string - that may or may not be wellformed!?
any tips most warmly welcomed
../ask
Hope you can help me with this. I'm using the
"System.Windows.Forms.WebBrowser" to display a various markuplanguage. And
it works fine pointing the "WebBrowser.Url" to a local or remote uri. But
what I would actually like to do, is to download a webpage as a string,
analyze it, possibly modify it, and then display it on the WebBrowser -
without asking the WebBrowser to download it again. By the "HttpWebRequest"
I can easily retrieve the textual webpage and I assume you could replace the
"WebBrowser.document" with a new "Forms.HtmlDocument", made of the textual
webpage just downloaded. But I cant seem to make it work - how do I create a
new HtmlDocument from a string - that may or may not be wellformed!?
any tips most warmly welcomed
../ask