Problem with mshtml.HTMLDocument

SilverGhost

New member
Joined
May 22, 2003
Messages
1
Hi all,

With the following vb.net code Im able to extract the whole HTML Code. The Problem is, that it isnt the original Code (Its new formated -> All tags are upper case) But I need the original code with the original formats!!! Somone an idea?

Code:
dim doc as mshtml.HTMLDocument
dim Data as String 
doc = AxWebBrowser1.Document
Data = doc.documentElement.outerHTML

Thanks for every help
 
Youll want to use a method other than the web browser control to download the data. See the WebClient, and in particular its DownloadData method.
 
Back
Top