R
rrotstein
I took a simple VB 6.0 .dll project, consisting of a single form, and
used Vistual Studio 2005 to upgrade it and create a new solution. I
then registered it and created a type library using regasm. But when I
run a little test program to do a CreateObject() on that object,
specifying the System.Runtime.InteropServices.ProgID created by the
2005 upgrade wizard, an unhandled System.Exception is generated
("Cannot create ActiveX component"). On the other hand, the object
contained in the class library created with VB 6.0 gets created without
any problem. Since I am brand new to .NET programming, I assume I must
be overlooking something elementary. But what is it?
used Vistual Studio 2005 to upgrade it and create a new solution. I
then registered it and created a type library using regasm. But when I
run a little test program to do a CreateObject() on that object,
specifying the System.Runtime.InteropServices.ProgID created by the
2005 upgrade wizard, an unhandled System.Exception is generated
("Cannot create ActiveX component"). On the other hand, the object
contained in the class library created with VB 6.0 gets created without
any problem. Since I am brand new to .NET programming, I assume I must
be overlooking something elementary. But what is it?