Jump to content
  • Advertisement
Sign in to follow this  
personwholives

Opening files in the appropriate program in c++ and windows

This topic is 5000 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i am writing a program which will have a file browsing capability added to it. I would like the user to be able to double click on a file and it automatically open in the correct program (sortof a preview file feature) i would not like to use windows explorer in a child window, or wnything like that (Explorer is giving me enough trouble as it is). Does anyone know how i would do this? links would be nice, but i searched for it on google and couldn't find anything (maybe i searched for the wrong thing). Anyway, i'd like to find out how to do this, but i have no idea exactly how it is done. Does it read the value from the registry to determine the proper program to run? Anyway, thats the only idea i have. thanks in advance personwholives

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by personwholives
thanks, i probably never would have found that.

personwholives


Then you should probably be pointed to The MSDN. The Library link at the top of the page "is an essential resource for developers using Microsoft tools, products, and technologies. It contains a bounty of technical programming information, including sample code, documentation, technical articles, and reference guides" (http://msdn.microsoft.com/library/default.asp).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!