Hi,

I am new to VB. I am trying to parse an html file. I would like not to use a WebBrowser control because it seems like overkill. The HtmlDocument class appears not to work outside of a WebBrowser control. If there is not a way to initialize it independantly, then thats a no go. Is there another api or am I stuck choosing between the WebBrowser control and a hand coded solution?

Thanks in advance,
Aaron

Recommended Answers

All 3 Replies

Member Avatar for iamthwee

I would recommend using webBrowser control unless you have a really good reason not to.

I have a wrapper usercontrol that grabs the html of the requested page, and can store cookies, etc.

I did not create it though. Sorry.

I figured out that I can do what I need wtih the system.XML namespace and httpwebrequest/response.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.