Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Unbuilding myCOMAddin (V. Easy!)

Posted on 2003-11-22
Medium Priority
Last Modified: 2011-10-03

I'm totally new to .NET and I built the Microsoft MyCOMAddin from here,

After selecting "Build > Build Solution" the addin now puts a message box up whenever I open or close a Office app.

Ok, this is so easy that I'm almost embarrased asking it, but how do I 'unbuild' this app?  I can't find the answer to that anywhere, and the Microsoft docs only cover the build, not unbuild!


Question by:malramsay
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2

Accepted Solution

krznpsk earned 200 total points
ID: 9804835
Remove these registry keys:


that should take care of your Office pop-up problem.

Expert Comment

ID: 9804839
additionally, to completely unregister MyCOMAddin as a COM dll, run this:

regsvr32 /u myAddIn.dll

Author Comment

ID: 9804869

Thanks for your help.

I'm still trying to understand how .NET works, as I've only created dll's in VB6.0 before.  Are you telling me that even though .NET can build and register COM dlls itself, the only way to unregister it is to do it manually in 'regedit'?  That doesn't seem very sensible (or am I off the mark here)!??

Also, I tried the regsvr32 command and it told me that the 'specified module could not be found'.  Where does .NET save these dlls? I'm unsure why this command isn't working, as surely the dll would have to be registered for the popup to continue working?
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.


Expert Comment

ID: 9804900
Not exactly... but since Office XP is based on COM, Visual Studio .NET provides that wizard for building and deploying what they call "COM interop assemblies."  MSDN article:

Actually, .NET assemblies are designed to be placed somewhere else, in what's called the Global Assembly Cache.  This is not the registry... check out gacutil.exe, available from the Visual Studo .NET command Prompt or at C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\gacutil.exe

gacutil -l will give you a list of registered .NET assemblies in the GAC.  The GAC is equivalent to how COM used the registry to register user-wide or machine-wide assemblies (as opposed to just copying the .dll's around).

You can read about the GAC here:

Expert Comment

ID: 9804901
oh, by the way, the .dll is most likely at this path on your computer:

C:\documents and settings\%USERNAME\My Documents\Visual Studio Projects\MyAddin\MyAddin\bin\MyAddin.dll


Author Comment

ID: 9804907

Thanks, I see I have a lot of reading too!

Featured Post

Command Line Tips and Tricks

The command line is a powerful tool at the disposal of every Linux user. Although Linux distros come with beautiful user interfaces, it's worthwhile to learn the command line because it allows you to do a number of things that you otherwise cannot do from the GUI.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
In my previous article ( we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : All lightning effects with instructions : http://www.mediaf…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question