How do I add my application in the Default Programs list of Windows Vista/7?(如何将我的应用程序添加到 Windows Vista/7 的默认程序列表中?)
问题描述
许多程序都在默认程序"控制面板小程序下提供了可能的扩展和协议列表.设置默认程序",更准确地说.(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 的默认程序列表中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何将我的应用程序添加到 Windows Vista/7 的默认程序列表中?


- 在哪里可以找到使用中的C#/XML文档注释的好例子? 2022-01-01
- MoreLinq maxBy vs LINQ max + where 2022-01-01
- 如何用自己压缩一个 IEnumerable 2022-01-01
- C#MongoDB使用Builders查找派生对象 2022-09-04
- 良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 2022-01-01
- C# 中多线程网络服务器的模式 2022-01-01
- 输入按键事件处理程序 2022-01-01
- Web Api 中的 Swagger .netcore 3.1,使用 swagger UI 设置日期时间格式 2022-01-01
- 带有服务/守护程序应用程序的 Microsoft Graph CSharp SDK 和 OneDrive for Business - 配额方面返回 null 2022-01-01
- WebMatrix WebSecurity PasswordSalt 2022-01-01