OnConnection not called in Excel addin

C

Chris r

Hello,

I have developed an Addin in .Net 1.1. It works fine.

I am trying to migrate this one in .Net 2.0, but I am facing some problems:
* The OnConnection of my class Connect (that inherit from IDTExtensibility2)
is not called.
What I tried
1- I have apply the patch
http://support.microsoft.com/default.aspx/kb/908002 , however it changes
nothing.
2- To create a addin from scratch with the Visual 2005 Wizard, but the
method is still not called.

However, I noticed if I create a new COM interface in the Addin, I can
called the method from Excel. However I don't have a reference on the
application that sould have been initialized in the OnConnection.

Thanks a lot.
 

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