Link to home
Start Free TrialLog in
Avatar of bobshoe
bobshoe

asked on

How to retrieve a web page.

Hello out there,

Just for the heck of it, how do you retrieve a web page off the internet?  I would just like to get the HTML source, I don't need anything fancy (i.e. no web browser, just the source).  I am using MFC in case that would change your answer.

Thank you very much!
Avatar of thresher_shark
thresher_shark

You can download a whole class dealing with that from http://www.codeguru.com/internet/index.shtml

In fact, there are several classes there that let you download things from the internet.  My personal favorite is:

http://www.codeguru.com/internet/get_webpage.shtml

If you have any questions regarding this, please feel free to ask.  Thanks!
Avatar of bobshoe

ASKER

Hello, I looked at the site you pointed me to, and it seems to be an invaluable resource.  I also downloaded the class you mentioned, it does exactly what I want.  Thanks!

Please post it as an answer.
ASKER CERTIFIED SOLUTION
Avatar of thresher_shark
thresher_shark

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bobshoe

ASKER

Again, thanks!