问题描述
许多程序都在默认程序"控制面板小程序下提供了可能的扩展和协议列表.设置默认程序",更准确地说.(Vista & 7)
我希望在该列表中添加我的程序并设置它可以处理的一些扩展.
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)
顺便说一句,是的,我知道,这不完全是一个编程问题.我猜测这是一个注册表问题.所以 UAC 不会是问题!
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!
推荐答案
使用默认程序 UI 注册您的应用程序所需的注册表项是 MSDN 上的文档(Shell 开发者指南)
The registry keys required to register your application with the Default Programs UI is documented on MSDN (Part of the Shell Developer's Guide)
这篇关于如何将我的应用程序添加到 Windows Vista/7 的默认程序列表中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!