Thursday, July 30, 2009

Visual C++ problem?

I have just downloaded Visual C++ 2005 express edition. I am new to using the visual C++ compiler.





I see that there is a component called WebBrowser which allows you to view web pages on a form. I would like to be able to download a web page and save it to a file without displaying it.Is there a component you can use for just downloading or is there some way to use WebBrowser for this?

Visual C++ problem?
Hello,





The WebBrowser control is pretty limited in what it can do, and I don't believe that it by itself can download and save pages.





You might want to consider using the WebBrowser control for the display of pages but use the MFC class CHttpFile to download and save web pages. You should also investigate the "Internet Explorer control", which differs from the WebBrowser control in that the IE control allows you to programmatically control an instance of Internet Explorer.





Hope this helps.


No comments:

Post a Comment