CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2001
    Location
    Seattle, WA
    Posts
    44

    How to acquire and read an HTML file

    I need to acquire, read and parse an html file from within a VB.Net Windows Form App...how to do this? I believe this is a simple task, but I cannot recall what to do.

  2. #2
    Join Date
    Aug 2002
    Location
    Kerala
    Posts
    1,183

    Re: How to acquire and read an HTML file

    You can use the web browser control to load the web page and use MSHTML to parse the contents of the page. This
    thread may be of some help. It contains an example of parsing a web page with frames.
    Last edited by Sahir; November 12th, 2005 at 10:18 PM.

  3. #3
    Join Date
    Dec 2001
    Location
    Seattle, WA
    Posts
    44

    Re: How to acquire and read an HTML file

    Isn't the WebControl for ASP.Net projects, only?

  4. #4
    Join Date
    Aug 2002
    Location
    Kerala
    Posts
    1,183

    Re: How to acquire and read an HTML file

    Quote Originally Posted by sks04
    Isn't the WebControl for ASP.Net projects, only?
    No. It is generally meant for windows forms apps, it's usage in an ASP.net application does not make much sense.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured