如何设置 IE 扩展名(IE 中的 BHO)

发布于 2024-09-24 01:51:19 字数 125 浏览 0 评论 0原文

我如何设置 IE 扩展中显示的 BHO 名称(例如管理插件)。当我使用 regasm.exe 附加程序时,Internet Explorer 插件列表中显示的名称是我的程序的命名空间。我该如何设置它的名称?...

谢谢。

How Can i Set the Name of the BHO appear in IE Extension (e.g Manage Addons).. The Name that Appear in the Internet Explorer Addons list is the Namespace of my program when i attach it with regasm.exe. how can i set the name of that.?...

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

轻拂→两袖风尘 2024-10-01 01:51:19

我正在开发 C# BHO,并且一直在努力解决同样的问题。如果您使用 C#,可以采取的一种方法是在标有 ComRegisterFunction 属性的方法中添加类似于以下内容的代码。这将设置适当的注册表项值,以便您所需的名称将反映在“管理加载项”屏幕中。

using (key = Registry.ClassesRoot.CreateSubKey("CLSID\\" + type.GUID.ToString("B")))
{
    key.SetValue(string.Empty, "My BHO Name Here");
}

I am working on a C# BHO, and was struggling with this very same question. If you're working with C#, one approach that can be taken is to add code similar to the following in the method that is marked with the ComRegisterFunction attribute. This will set the appropriate registry key value so that the name that you desire will be reflected in the Manage Add-Ons screen.

using (key = Registry.ClassesRoot.CreateSubKey("CLSID\\" + type.GUID.ToString("B")))
{
    key.SetValue(string.Empty, "My BHO Name Here");
}
智商已欠费 2024-10-01 01:51:19

没有办法设置名字吗? “管理附加组件”窗口中显示的名称似乎是从 BHO 的 C# 类完全限定名称中选取的。

No way to set the name? The name showing in the "Manage Add-Ons" window seems to be picked up from the BHO's C# class fully qualified name.

真心难拥有 2024-10-01 01:51:19

此信息存储在项目中的 .rgs 文件中。查找类似

ForceRemove {29DFE920-26AD-4377-8FCB-0E7A34A41199} = s 'NameIEBHO Class' 的字符串

This information is stored in .rgs file in your project. Look for a string like

ForceRemove {29DFE920-26AD-4377-8FCB-0E7A34A41199} = s 'NameIEBHO Class'

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文