P
Pedro Ramilo
I have built a simple set of three classes in VB2005 Beta2 and attempted to
expose them to COM to be consumed from inside Outlook 2003 VBA.
I have set the COM Visible and Com Creatable properties to True on the class
and ran REGASM and REGASM with the /tlb option to register the assembly with
COM.
The assembly registered correctly although it did not expose the properties
that make use of Generics (which is not a problem since I created procedures
(SUB) to wrap up that functionality).
The assembly show up in the references dialog box and I can see the objects
in the Object browser.
The problem is that whenever I try to create an instance of the class I get
an Automation Error (this behaviour occours both with OL2003 VBA and VB6
SP6).
I am relativelly new to .NET and spent some and effort developping these
classes in .Net and I desperatelly need to get this working.
Can you please point me to some troubleshooting tips or sites to get around
this problem.
Thank you
Pedro
expose them to COM to be consumed from inside Outlook 2003 VBA.
I have set the COM Visible and Com Creatable properties to True on the class
and ran REGASM and REGASM with the /tlb option to register the assembly with
COM.
The assembly registered correctly although it did not expose the properties
that make use of Generics (which is not a problem since I created procedures
(SUB) to wrap up that functionality).
The assembly show up in the references dialog box and I can see the objects
in the Object browser.
The problem is that whenever I try to create an instance of the class I get
an Automation Error (this behaviour occours both with OL2003 VBA and VB6
SP6).
I am relativelly new to .NET and spent some and effort developping these
classes in .Net and I desperatelly need to get this working.
Can you please point me to some troubleshooting tips or sites to get around
this problem.
Thank you
Pedro