"Copy" a HTML page
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: "Copy" a HTML page

  1. #1
    Join Date
    Jun 2007
    Location
    California
    Posts
    136

    [Resolved]"Copy" a HTML page

    Hi all,

    I want to parse a webpage and extract relevent data from it. My current approach is to download the source of the webpage (HTML codes), then use some keywords to extract the necessary information. However, this just doesn't seem to be the best solution to me.

    Is there a way to download the "displayed page" instead of the HTML code?

    Thank you,
    kab
    Last edited by kabilius; March 15th, 2011 at 06:08 PM.

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,074

    Re: "Copy" a HTML page

    Not sure what you mean

    Whenever you download a webpage, you unfortunately download the codes with it. That is how it works. The real question should be, what would be the best approach in extracting the "info"?

    How did you do it?

    I'm using the SHDocVw and mshtml and never had any problems

  3. #3
    Join Date
    Jun 2007
    Location
    California
    Posts
    136

    Re: "Copy" a HTML page

    Hi Hannes,

    I think you have deciphered my ambiguous language correctly.
    I guess there just isn't a easier to do what I want than SHDocVW and MSHTML, thank you for pointing me to the right direction.

    kab

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center