umersunny
umersunny

Reputation: 31

How can i set the name of IE Extension (BHO In IE)

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.

Upvotes: 3

Views: 862

Answers (4)

Scott
Scott

Reputation: 1253

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");
}

Upvotes: 3

aviit
aviit

Reputation: 2109

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

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

Upvotes: 0

Juan Gamez
Juan Gamez

Reputation: 11

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.

Upvotes: 1

i_am_jorf
i_am_jorf

Reputation: 54600

  1. Include a VERSIONINFO resource.
  2. Sign your DLLs.

Upvotes: 1

Related Questions