Click here to Skip to main content
15,843,149 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
- I get 'COM error code 80010105' when excel 2013 ( enabled with my VSTO 2010 addin) is invoked using NX 10/NX 11.
-When this Addin is been disabled we do not have this error.
-I do not have any issues while opening the excel 2013 from explorer directly.
- There is no error if the excel is embedded in any of the MS applications and opened from there.
- we do not have any issues with the Excel2010.


-This addin is enabled with Ribbon XML

What I have tried:

one change what I have noticed on this scenario(invoked excel 2013 from NX 10/NX 11) there are multiple excel.exe(2/3) is created in the windows task manager for each call.
The suspected area is
(Globals.ThisAddIn.Application) is been passed to a class as a constructor parameter. which will initialize the Excel.Application object in the class.

The action doing on ThisAddIn_Startup call
Vis_Ribbon ribbon = (Vis_Ribbon)ribbonObj;
addinLanguage.UpdateRibbon += new ChangedEventHandlerForRibbon(InvalidateRibbon);
xclsComp = new ExcelComponent(Globals.ThisAddIn.Application);
ribbon.XLCOMPONENT = xclsComp;
InitEvents();
InitEvents();--> (Initializes all the worksheet events used in the application)
I tried
-removed the constructor and passed in Workbook activate event.
-Still getting the defect.
Posted
Updated 28-Sep-16 19:55pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900