ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   LoadBehavior problem (https://www.excelbanter.com/excel-programming/328104-loadbehavior-problem.html)

Mircea Pleteriu[_2_]

LoadBehavior problem
 
Hi,

I have created an Excel COM Add-in with C# .NET with the LoadBehavior set to
3.
I have installed the add-in and everything worked right for a few days.

Suddenly, I've observed that the add-in is not loaded when I open Excel by
double-clicking an Excel document.
Also, I observed that the LoadBevior (into registry) is automatically
changed from 3 to 2 when the file is double-clicked.

Do you know the reason of this strange behavior?

Thanks,
Mircea



Mircea Pleteriu[_2_]

LoadBehavior problem
 
I've solved the problem. It was because of a fault into OnConnection method.

"Mircea Pleteriu" wrote in message
...
Hi,

I have created an Excel COM Add-in with C# .NET with the LoadBehavior set

to
3.
I have installed the add-in and everything worked right for a few days.

Suddenly, I've observed that the add-in is not loaded when I open Excel by
double-clicking an Excel document.
Also, I observed that the LoadBevior (into registry) is automatically
changed from 3 to 2 when the file is double-clicked.

Do you know the reason of this strange behavior?

Thanks,
Mircea





Yan-Hong Huang[MSFT]

LoadBehavior problem
 
Hi Mircea,

We are glad to know that it is resolved now. :)

Thanks very much for participating the community and sharing your
experience here.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
-http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.as
p&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.



All times are GMT +1. The time now is 12:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com