HTML in to readable/value accessible object

J

Joe

Can someone show me how I can correctly put the HTML code of a webpage into
an object where I can access the various values of the tages in VB.net?

I did it in VB6 with HTMLDocument, but its seems to not work for me in
VB.NET.

Thanks in advance
 
H

Herfried K. Wagner [MVP]

Joe said:
Can someone show me how I can correctly put the HTML code of a webpage
into
an object where I can access the various values of the tages in VB.net?

I did it in VB6 with HTMLDocument, but its seems to not work for me in
VB.NET.

Parsing an HTML file:

MSHTML Reference
<URL:http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/mshtml/reference/reference.asp>

- or -

..NET Html Agility Pack: How to use malformed HTML just like it was
well-formed XML...
<URL:http://blogs.msdn.com/smourier/archive/2003/06/04/8265.aspx>

Download:

<URL:http://www.codefluent.com/smourier/download/htmlagilitypack.zip>

- or -

SgmlReader 1.4
<URL:http://www.gotdotnet.com/Community/...mpleGuid=B90FDDCE-E60D-43F8-A5C4-C3BD760564BC>

If the file read is in XHTML format, you can use the classes contained in
the 'System.Xml' namespace for reading information from the file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top