Tom Mulholland
Posts: 15
Joined: 2012-06-26
|
Hi Andrei
My excel project has one ADX ribbon tab, all (was) working fine.
I then added a second ADX ribbon tab into the same project with some buttons etc.
Problem is that F5 causes Excel to start up then close down. I can't debug the addinmodule.new() event to see what is tripping, as this event doesn't fire up. I have deleted the second ribbonbar but now Excel still not happy and closes down straightaway.
I have tried unregistering then reregistering the class assembly, no use, and have gone carefully through addinmodule etc. to see if any conflict. Project has no errors in error list.
Can you help?
Thanks |
|
Andrei Smolin
Add-in Express team
Posts: 18821
Joined: 2006-05-11
|
Hello Tom,
Whenever Office tries to load your add-in, a log file is created. Its default location is %temp%\{AssemblyProduct attribute; see AssemblyInfo}\adxloader.log in the profile of the user who starts Excel. Start Excel from the Start menu and make sure the file doesn't contain errors. In this case, the last line is "The instance of the managed add-in class has been created successfully".
Also, make sure you have the "Show add-in user interface errors" checkbox selected; check section Get informed about errors in Ribbon markup; see the PDF file in the folder {Add-in Express}\Docs on your development PC.
Andrei Smolin
Add-in Express Team Leader |
|
Tom Mulholland
Posts: 15
Joined: 2012-06-26
|
Thanks very much - somehow I think that will be very useful information for the future!
In the meantime, I have now located the source of the error - I had changed the filename of an ADX excel task pane in solution explorer but had not changed the TaskPaneClassName of one taskpaneitem in my task panes manager to the new filename.
So it was not in fact related to the 2nd ribbon tab at all.
Best regards
Tom |
|
Andrei Smolin
Add-in Express team
Posts: 18821
Joined: 2006-05-11
|
Thank you, Tom!
Andrei Smolin
Add-in Express Team Leader |
|