C# COM addin - please help

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

Hello,
I wrote a simple addin for Excel using C#. It works great on my development
machine.
However, when I installed the package to another machine, the COM addin does
not show when open excel application.
Question: What do I need to do to resolve this problem?
Thanks in advance!

DH
 
If you're written it with a COM wrapper then do you need to register it
first with regsvr32.exe?
 
I created the project using the VS2003 wizard. It also create the
'installation' package.
I assume the install will handle those registration when running setup on
the target machine.
Now, I try regsvr32, it results error of 'No entry point'. But I used regasm
it registered fine.
Again, It still does not work on the target machine.
(The addin project is to add a button to the Excel toolbar)

Any other advice?

Thanks

DH
 
Installation project generated by VS only registers your add-in as a COM
object. It does not add necessary entries to the Excel's registry. On your
development machine that was done by VS wizard rather than by setup project:
that is why your add-in works on your dev PC.
 
Back
Top