SilverGhost Posted May 22, 2003 Posted May 22, 2003 Hi all, With the following vb.net code I'm able to extract the whole HTML Code. The Problem is, that it isn't the original Code (It's new formated -> All tags are upper case) But I need the original code with the original formats!!! Somone an idea? dim doc as mshtml.HTMLDocument dim Data as String doc = AxWebBrowser1.Document Data = doc.documentElement.outerHTML Thanks for every help Quote
*Gurus* divil Posted May 22, 2003 *Gurus* Posted May 22, 2003 You'll want to use a method other than the web browser control to download the data. See the WebClient, and in particular its DownloadData method. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.