Sign in to follow this  
personwholives

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

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this