Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

How to get the original HTML source via WebBrowser control

$
0
0

Hi,

I am using WebBrowser control in Visual Basic and try to utilize it to obtain the original source of a loaded HTML page. I try to use

WebBrowser1.Document.DocumentElement.OuterHTML

but the returned string is not identical to the original source. And I check the post at http://social.msdn.microsoft.com/Forums/ie/en-US/176bc0a5-3f37-4a67-a4f7-d8b5d80cde00/documentdocumentelementouterhtml-lose-the-closing-tags and get the confirmation of this.

So, if I need to get the original source of the HTML page, how to do?

Thaks


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>