Problems loading addin for excel

F

Fedorov1977

I followed this KB-article to create an addin for excel 2003 in Visual Studio
2005.
http://support.microsoft.com/kb/302901

The example code worked and then I started a really simple project of adding
two new buttons to the toolbar in Excel. Everything worked fine, the buttons
showed up ok and when I clicked them they behaved as I wanted them to.

Then I started adding som messageboxes in various methods for tracing and a
settings file to be able to turn tracing on and off easily. When I compiled
the project it said that I was using an obsolete method to read the settings
file. Fine, I removed the settings file and all my messageboxes but then when
I started excel nothing happended, my two buttons did not show and the
message box I had at "OnConnection" did not show. I have not been able to get
my addin to start since then. I've tried uninstalling, reinstalling,
recompiling, deleting registry keys etc but nothing has helped.

I've even started completely new projects copying the example code from the
KB article but even this has stopped working!!

What can be wrong?!? Very grateful for answers!
 
S

Simon Murphy

Check Help>>About MS Excel>>Disabled items
remove anything in there - especially mscoree which is likely to get
disabled if your .net COM add-ins have misbehaved.

Cheers
Simon
Excel development website: www.codematic.net
 

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

Top