Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Add-in does not load

Hi !

I have created a C# Add-in under Visual Studio 2005 Pro with VSTO 2005 SE.
I use Excel 2007/Win XP Pro.

Under Visual Studio 2005 debugger (where Excel is lauched as an external
program), the add-in works fine. After at least one debugging session, the
Add-in works fine too when I launch Excel direcly (I mean not under Visual
Studio control).

Then, as soon as I deinstall (add/rem programs) the add-in and reinstall it,
the add-in is not loaded anymore in Excel (I see in Excel/Excel
options/Add-ins/COM Add-ins: "Not loaded. A runtime error occured during the
loading of the COM Add-in).
Again, if I launch a debugging session, this problem disappears.

I have included the following prerequisites in my VS 2005 setup project:
* .NET Framework 2.0
* Shared Add-in Support update for Microsoft .NET Framework 2.0 (KB908002)
.... not sure if I really need it (BTW, behavior is identical if I remove it)

Any idea is welcomed. Many thanks in advance.

Cheers,

Pierre





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Load Dll Lisandro Oliveira Excel Programming 5 February 22nd 07 11:17 AM
On load Robert_DubYa Excel Programming 5 May 12th 06 08:58 PM
Cannot load book12 Excel Discussion (Misc queries) 1 November 11th 05 12:01 AM
load an add-in in VBA dibdab Excel Programming 1 March 3rd 04 05:11 AM
How to load another XLL in the XLL? Michael[_18_] Excel Programming 0 October 18th 03 01:49 PM


All times are GMT +1. The time now is 08:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"