So many programs feature a list of possible extensions and protocols under the "Default Programs" control panel applet. "Set Default PRograms", more precisely. (Vista & 7)
I wish to add my programs in that list and set some extensions that it can handle.
One more thing. My program supports addons for opening more files, so that list should be dynamic (I can add more extensions or even protocols at any time)
By the way, yes, I know, this is not exactly a programming question. It'd be my humble guess that it's a registry question. So UAC will not be an issue!
OK so after hard work and a half-an-hour long registry search, I have found out that I have to register my applications capabilities and then register my application.
For others, analyze the values in this key:
HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications
The registry keys required to register your application with the Default Programs UI is documented on MSDN (Part of the Shell Developer's Guide)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With