Problem loading addin

R

Rui Silva

Hello!

I’m trying to migrate an Excel addin from Visual Studio 2003 to 2005.
This Excel addin was built as a shared addin (IDTExtensibility2).
My Visual Studio version is the 2005 Professional Edition (with SP1).
The Excel Version is the 2003 Professional Edition (with SP2).

When I try to test the addin with VS 2005, the addin doesn’t load…
In fact, after running Excel the LoadBehaviour in the Windows Registry is
automatically changed from 3 to 2!

Note:
In the “Deactivated Items†(Help Menu) there are no items listed.

Thanks
 
P

Patrick Schmid [MVP]

My guess is that your add-in hits a runtime error when it loads, and
hence Excel disables it. Have you run it in debug mode from within VS?

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Outlook 2007 Performance Update: http://pschmid.net/blog/2007/04/13/105
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://ribboncustomizer.com
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed
 
W

Walt

If you aren't running this on your development machine, then you'll have to
also include the extensibility files.
 
R

Rui Silva

Hello Patrick,

For better testing this, I have created an empty shared addin for Execel.
Then I inserted breakpoint in the OnConnection function.
However the application didn’t stop in that function…

In the “Deactivated Items†(Help Menu) there are no items listed.

If I try to do the same with VS 2003, the addin works as expected.



Patrick Schmid said:
My guess is that your add-in hits a runtime error when it loads, and
hence Excel disables it. Have you run it in debug mode from within VS?

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Outlook 2007 Performance Update: http://pschmid.net/blog/2007/04/13/105
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://ribboncustomizer.com
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed




Hello!

I'm trying to migrate an Excel addin from Visual Studio 2003 to 2005.
This Excel addin was built as a shared addin (IDTExtensibility2).
My Visual Studio version is the 2005 Professional Edition (with SP1).
The Excel Version is the 2003 Professional Edition (with SP2).

When I try to test the addin with VS 2005, the addin doesn't load.
In fact, after running Excel the LoadBehaviour in the Windows Registry is
automatically changed from 3 to 2!

Note:
In the "Deactivated Items" (Help Menu) there are no items listed.

Thanks
 
R

Rui Silva

Hello Walt,

I am running it on my develop machine.
Even when I’m creating a new addin in VS2005, it doesn’t load.
 
R

Rui Silva

More information about this…

Initially I was able to create and load my Office addins (as shared addins)
in VS 2003.
Then, I have installed a few Express Editions (VB, C# and Web).
After that, I have installed VS2005 Professional (as an upgrade version for
VS2003).
In spite I have the template to create shared addins in VS2005, I can’t run
and load any addin.
I have migrated easily all kind of projects, except shared addins…
Any help?

Thanks!
 

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