Unable to create specified ActiveX control

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

Unable to create specified ActiveX control
 
Meidan Alon




Posts: 37
Joined: 2008-09-21
Hi,

I have a TaskPane in a Word addin.
I'm getting this exception, after trying to add a parameter to the constructor of the TaskPane. The parameter I added to the TaskPane is passed to the constructor of a user control inside that TaskPane.
Is it related? Can't I pass a parameter to the constructor of the task pane?

Thanks.

---- 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
Posted 11 Jan, 2009 14:25:07 Top
Eugene Astafiev


Guest


Hi Meidan,

Could you send a sample add-in project which can reproduce the issue to the support e-mail address (see readme.txt)?
Posted 12 Jan, 2009 05:52:17 Top
Eugene Astafiev


Guest


Hi Meidan,

Sorry for the delay.

I have found the following line in your code which throws the exception:

if (settings.ShowHelpOnStartup) new Help(settings, picture).ShowDialog();


Are you able to reproduce the issue you described above with a new simple add-in? If yes, please send it to the support e-mail address.

BTW What Office version and OS do you use?
Posted 14 Jan, 2009 11:31:59 Top