Solved

How to retrieve a web page.

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

Independent Software Vendors: 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

Suggested Solutions

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

734 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