I command you with all Might I have

This is a discussion on I command you with all Might I have within the C++ Programming forums, part of the General Programming Boards category; You create a file extension association in the registry which links the file extension to your application. When somebody double ...

  1. #16
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,274
    You create a file extension association in the registry which links the file extension to your application. When somebody double clicks on a file, Windows will launch your application using the command line "myapp.exe <the file>". It's up to your app to process the command line argument to get the filename to use.

  2. #17
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    Quote Originally Posted by Need_O2 View Post
    I simply wanted make me able to right click a file and say open with <My app name>
    This has nothing to do with C++ and everything to do with Windows (or whatever operating system you're using).

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21