[Webinar] Streamline your web hosting managementRegister Today


Act as a browser!!!!

Posted on 1999-12-06
Medium Priority
Last Modified: 2013-11-20

If I have a dialog-based application, how can I display a gif file at my application which is placed at web server.

Actually I don't know the exact path of the file where it places. I only know the www link to the file eg. http://www.my.com/images/my.gif.

How can I display the file my.gif in my application by just knowing the www link of the file.

Can I implment like this?

Thanks for your opinion!!!!
Question by:ee_lcpaa

Accepted Solution

PIG earned 400 total points
ID: 2258130
Use socket connection to this server in port 80. And then transfer data file to Your computer. See following part in MSDN
"Accessing the HTTP Protocol" and "Windows Sockets in MFC". HTTP server supply all from accessing links.
LVL 23

Expert Comment

ID: 2259936
Add the WebBrowser Control to your dialog box and call Navigate2();

Using MFC to Host a WebBrowser Control

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
Suggested Courses

590 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