M
M
Maxim Tkachuk2012-03-16 14:18:45
C++ / C#
Maxim Tkachuk, 2012-03-16 14:18:45

Loading a webpage in Visual C++?

How to load the text of a web page in an MFC application written in the heart of Visual Studio 2010 in C ++?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Ramires, 2012-03-16
@makzimko

Is the web page local (saved html on hard drive) or on the world wide web? If it is local, then we simply open the file and throw out all the tags and links, if it is on the Internet, then we write a simple http client (an example googles very quickly, for example, here ).

B
bogolt, 2012-03-16
@bogolt

1. Download the page ( google: socket, http )
2. Display it ( google: QtWebView )

T
tangro, 2012-03-16
@tangro

On the Windows platform, everything will most likely come down to using the WinInet library (or some kind of cropper above it). The option shown in the first example is a good start.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question