Add-in

  • Thread starter Thread starter Lespaul36
  • Start date Start date
L

Lespaul36

I have a couple of add-ins that use. I have noticed that if I have 2
sessions of VS going that the second session doesn't have the add-ins. I
also have some add-ins listed in the add-in manager that I don't have
anymore...is there a way to remove them from the manager.
 
- The second session should have the add-ins, unless they are
solution-addins(not very common), not VS.NET generic add-ins. Are they
listed in the Add-in Manager.

- The proper way is to use the uninstaller. That said, you can use the
scalpel ;-) Use regedit.exe and:

* In the HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.1\AddIns,
remove your add-in ("just-me" add-ins)
* In the HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\AddIns,
remove your add-in ("all-users" add-ins)

At this point the add-in no longer appears in the add-in manager. To remove
also useless COM entries:

* In the HKEY_CLASSES_ROOT, search the ProgID of the add-in, something like
MyAddIn.Connect, take note of the CLSID and remove the entry
* In the HKEY_CLASSES_ROOT\CLSID, remove the clsid of the previous step.

One the add-in is unregistered, you can remove its commands from VS.NET
entering in customization mode (Tools, Customize), Commands tab, Addins
category, drag and drop commands on a toolbar, exit customization mode, and
click on each command button, You will get a warning about missing add-in
and then you are asked if to remove the command.

--
Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
 
Yeah they are listed in the addin manager, but not loading in the tool bar.
It is one that I wrote for personal use, so I didn't really use an
installer, should I do that instead?
 
Lespaul36 said:
Yeah they are listed in the addin manager, but not loading in the tool
bar.

When are you creaing the toolbar that should appear? If you are doing it in
the UISetup phase of the OnConnection method, then it is fired only once.
See my MSDN Knowledge Base article:

HOWTO: Adding buttons, commandbars and toolbars to Visual Studio .NET from
an add-in
http://support.microsoft.com/default.aspx?scid=kb;en-us;555326
It is one that I wrote for personal use, so I didn't really use an
installer, should I do that instead?

Yes, you should use an installer and uninstaller.


--
Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top