Solved

How to retrieve a web page.

Posted on 1998-10-25
4
232 Views
Last Modified: 2010-04-02
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!
0
Comment
Question by:bobshoe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 6

Expert Comment

by:thresher_shark
ID: 1176038
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!
0
 

Author Comment

by:bobshoe
ID: 1176039
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.
0
 
LVL 6

Accepted Solution

by:
thresher_shark earned 300 total points
ID: 1176040
Sure.  I am glad you like that site.  I find it most helpful.  The discussion forum can be a great help when you run out of points or if you want to save up for awhile (like me).

Glad I could help! :-)
0
 

Author Comment

by:bobshoe
ID: 1176041
Again, thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question