Conflict between task panes and XLA since Excel 2013
Issue by juflo
Tue, 15 Mar 2016 17:00:19 GMT
Originally opened as https://netoffice.codeplex.com/workitem/22208
Hi
I'm faced with a weird behavior. Net Office task panes are not visible anymore in Excel 2013 when an XLA is enabled. To reproduce the problem, I used any of the samples provided creating a task pane, and I active an XLA. Each of "Solver addin", "Euro currency tools" and "analysis toolpak" XLA provided with Excel 2013 creates the problem.
A workaround is to uncheck "Show the Start screen when this application starts" in Excel options "General" (at the bottom)
Any idea what is going on ?
Thanks
Comment by juflo
Thu, 17 Mar 2016 11:06:34 GMT
After further investigations, moving the creation of a task pane (ICTPFactory.CreateCTP) outside of the ICustomTaskPaneConsumer.CTPFactoryAvailable method solve the problem.If that helps ...
Comment by SebastianDotNet
Thu, 17 Mar 2016 11:40:42 GMT
I have no idea whats going on :o What happen?
The pane disappear?
Comment by juflo
Thu, 17 Mar 2016 12:01:55 GMT
Yes, exactly, the pane is not visible, but there is no exception anywhere, all code run as it should.
Current implementation of custom task panes in NetOffice supports only single instance of a task pane.