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, then thats a no go. Is there another api or am I stuck with the

WebBrowser

control.

Thanks in advance,
Aaron

Aaron, what exactly are you trying to do? Do you want to retrieve the HTML code from a webpage and check to see if a particular string is within the code?

Aaron, what exactly are you trying to do? Do you want to retrieve the HTML code from a webpage and check to see if a particular string is within the code?

Thanks for the reply. I edited this starter w/out realizing that it would start a new thread. The solution I came up with on the other thread was too just treat the HTML as XML and parse it that way using the System.XML namespace. Thanks

Aaron

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.