Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to retrieve a web page.

Posted on 1998-10-25
4
Medium Priority
?
238 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
  • 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 1200 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

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…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

782 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