Vladimir Panasenko
Posts: 10
Joined: 2009-02-19
|
Tried to add a TaskPane to Excel using test add-in, but failed. Saw few topics on this issue; had ProgID setup as MyAddin1.ADXExcelTaskPane1. What might be wrong? Below you will find exception stack. Environment: Windows Server 2008, Excel 2007; Add-In Express SE, .NET 3.5.
Thank you in advance,
Vladimir
Exception Source:
Exception Type: System.Runtime.InteropServices.COMException
Exception Message: Unable to create specified ActiveX control.
Exception Target Site: ForwardCallToInvokeMember
---- Stack Trace ----
System.RuntimeType.ForwardCallToInvokeMember(memberName As String, flags As BindingFlags, target As Object, aWrapperTypes As Int32[], msgData As MessageData&)
AddinExpress.MSO.2005.dll: N 0197 (0xC5) IL
AddinExpress.MSO.ICTPFactory.CreateCTP(CTPAxID As String, CTPTitle As String, CTPParentWindow As Object)
AddinExpress.MSO.2005.dll: N 00000 (0x0) JIT
AddinExpress.MSO.ADXAddinModule.AddCustomTaskPanes(parent As Object, outlookFolderName As String)
AddinExpress.MSO.2005.dll: N 0000 (0x0) IL
|
|
Fedor Shihantsov
Guest
|
AddinExpress.XL.ADXExcelTaskPane is used for the ADXExcelTaskPanesManager component.
You should use a UserControl instead of AddinExpress.XL.ADXExcelTaskPane.
|
|
Vladimir Panasenko
Posts: 10
Joined: 2009-02-19
|
Fedor,
Sorry, missing your point. I followed the doc, used Designer View, and added TaskPane; source code was generated by wizard, and class was defined as:
ADXExcelTaskPane1 : AddinExpress.XL.ADXExcelTaskPane
I used Controls in order to create Ribbon menus and I succeeded. However, at this time I have to create TaskPane. Could you provide more informative instructions please?
Regards,
Vlad
|
|
Fedor Shihantsov
Guest
|
|