Act as a browser!!!!

Hello,

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!!!!
ee_lcpaaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PIGCommented:
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chensuCommented:
Add the WebBrowser Control to your dialog box and call Navigate2();

Using MFC to Host a WebBrowser Control
http://msdn.microsoft.com/workshop/browser/webbrowser/tutorials/WBTutorial.asp
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.