Solved

How to retrieve a web page.

Posted on 1998-10-25
4
190 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 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
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 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.

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now