Hi,
I am new to VS2005 having moved straight from VB6. I need to create a
VB2005 class library that is exposed to COM but am not having much luck. I
have set 'Make assembly COM-Visible' in the Application->Assembly
Information properties, and set 'COM Class' = True and 'COM Visible' = True
on the class attributes but each time I build the solution it just seems to
build it as a normal .NET assembly with nothing visible in COM.
I'm sure I'm missing something simple - can anybody point me in the right
direction?
Thanks,
Jonathan
Tim Anderson - 26 Feb 2006 21:02 GMT
> I'm sure I'm missing something simple - can anybody point me in the right
> direction?
Did you set Register for COM interop in the Compile section of project
properties?
You must either do this, or use the regasm tool to register the assembly for
COM.
Tim
Pitfalls when handling COM events in managed code
http://www.itwriting.com/blog/?postid=349