HTML in to readable/value accessible object

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joe

    HTML in to readable/value accessible object

    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


  • Cor Ligthert [MVP]

    #2
    Re: HTML in to readable/value accessible object

    Joe,

    Mshtml is the HTML Document Object Model



    Cor


    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: HTML in to readable/value accessible object

      "Joe" <johntyung@yaho o.com> schrieb:[color=blue]
      > 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.[/color]

      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.c om/Community/UserSamples/Details.aspx?Sa mpleGuid=B90FDD CE-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.

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://classicvb.org/petition/>

      Comment

      Working...