B
BatKing
Hi,
I am facing a problem with COMShim wizard 2.3.1. I have a PPT add-in which
implements ICustomTaskPaneConsumer. Everything works fine until I use COMShim
Wizard to wrap my managed add-in. everytime I start PPT, it will give me a
error says "Unable to create specified ActiveX control." and my add-in is
half baked in PPT (i.e. the custom task pane won't show but the iRobbin
button for my add-in shows).
the CustomTaskPane uses a usercontrol which I created in a different DLL
with C#. So I guess my problem here is I have 2 dll files both in managed
code. one is the addin.dll and one is control.dll. When I use COMShim wizard,
I targeted the addin.dll.
my add-in works if I build the control.dll then addin.dll project within my
solution. but if I build my addinShim project then I will get the error I
mentioned. I guess building the addinShim project will override the addin.dll
registration. but it seems the problem here is my control.dll. what should I
do with it?
I had tried to run regasm.exe on the control.dll but no luck.
I had copy all the control.dll and control.tlb file into the addinShim's
$(TargetDir) but still won't work.
I have another outlook add-in which don't use the CustomTaskPane and without
a 2nd usercontrol dll file, then the Shim created by COMShim wizard works fine
Any help is appriciated
Thanks.
I am facing a problem with COMShim wizard 2.3.1. I have a PPT add-in which
implements ICustomTaskPaneConsumer. Everything works fine until I use COMShim
Wizard to wrap my managed add-in. everytime I start PPT, it will give me a
error says "Unable to create specified ActiveX control." and my add-in is
half baked in PPT (i.e. the custom task pane won't show but the iRobbin
button for my add-in shows).
the CustomTaskPane uses a usercontrol which I created in a different DLL
with C#. So I guess my problem here is I have 2 dll files both in managed
code. one is the addin.dll and one is control.dll. When I use COMShim wizard,
I targeted the addin.dll.
my add-in works if I build the control.dll then addin.dll project within my
solution. but if I build my addinShim project then I will get the error I
mentioned. I guess building the addinShim project will override the addin.dll
registration. but it seems the problem here is my control.dll. what should I
do with it?
I had tried to run regasm.exe on the control.dll but no luck.
I had copy all the control.dll and control.tlb file into the addinShim's
$(TargetDir) but still won't work.
I have another outlook add-in which don't use the CustomTaskPane and without
a 2nd usercontrol dll file, then the Shim created by COMShim wizard works fine
Any help is appriciated
Thanks.