Task pane install error

Add-in Express™ Support Service
That's what is more important than anything else

Task pane install error
Task pane will not initialize on deployment to user 
Marina Keshyan




Posts: 4
Joined: 2009-07-30
Hi,

I've successfully implemented an add-in customizing menus in Excel.
The add-in uses a task pane to set certain parameters.
To initialize, i use AddinModule_AddinStartupComplete to adxExcelTaskPanesManager1.Items[0].ShowTaskPane() and assign it an event handler. This works fine on my machine and another client .. the second client is generating a null reference error on excel start-up (task pane will not initialize). Have tries reinstalling several times.. All machines are running Office '03 SP3. Is there anything in the user's local settings that would cause this? Any ideas?


private void AddinModule_AddinStartupComplete(object sender, EventArgs e)
{
eventsObject = new ExcelWorksheetEvents(this);
adxExcelTaskPanesManager1.Items[0].ShowTaskPane();
adxExcelTaskPanesManager1.Items[0].TaskPaneInstance.VisibleChanged +=new EventHandler(TaskPaneInstance_UpdateVal);
}




Posted 08 Aug, 2009 19:11:05 Top
Fedor Shihantsov


Guest


Hi Marina,

I believe you don't need to call adxExcelTaskPanesManager1.Items[0].ShowTaskPane();.
TaskPane will be shown by adxExcelTaskPanesManager1. automatically.
So, remove calling ShowTaskPane and move assigning the VisibleChanged event handler to the ADXOlForm constructor.

Please let me know about the result.
Posted 10 Aug, 2009 08:45:55 Top