nwein
Posts: 577
Joined: 2011-03-28
|
I'm trying to optimize my add-in loading time and have noticed that a big chunk of the loading time happens when my custom task pane (not advanced custom pane, but the regular Microsoft.Office.Core.CustomTaskPane) get instantiated.
My custom pane is displayed only on demand so I'm fine if it will take longer to show it for the first time, but there's no need for me to instantiate it whenever a new Excel process starts. I don't have any code to call it but I believe that somewhere in the initialization sequence some ADX code does just that.
Is it possible to defer this instantiation? |
|
Andrei Smolin
Add-in Express team
Posts: 18793
Joined: 2006-05-11
|
Hello Nir,
You can only prevent it from being shown: set ADXTaskPane.Visible=false at design time. Preventing it from being created will leave your add-in with no panes.
Andrei Smolin
Add-in Express Team Leader |
|