Joe Bloke
February 22nd, 2008, 08:02 PM
I want to parse HTML using HtmlDocument. If I do this
webBrowser = new WebBrowser();
webBrowser.Navigate(inputFile);
it is not enough to properly load the Document member (webBrowser.Document.Body == null). However, it works when the control is placed on a form (which tells me the webBrowser instance will require some more setup).
Please note: I'd like to create the control in runtime - this done in a class library.
webBrowser = new WebBrowser();
webBrowser.Navigate(inputFile);
it is not enough to properly load the Document member (webBrowser.Document.Body == null). However, it works when the control is placed on a form (which tells me the webBrowser instance will require some more setup).
Please note: I'd like to create the control in runtime - this done in a class library.