Create new insatance of Visual Basic Class
-
How to create the visual basic 6.0 class instance from c#? Actually I add the one OCX file into my C#,Asp.Net application. But when we create the instance of the visual basic class then it gives the error Class has no constructor defined. Please help me about that.
Deepak :) Smile a Lots,Its Costs Nothing
-
How to create the visual basic 6.0 class instance from c#? Actually I add the one OCX file into my C#,Asp.Net application. But when we create the instance of the visual basic class then it gives the error Class has no constructor defined. Please help me about that.
Deepak :) Smile a Lots,Its Costs Nothing
Is the .OCX registered on the machine?? You really can't have a COM component without at least an empty constructor, so I question the error you got.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008