Registering a COM component to use in VB6
-
Hi... I`ve done a COM DLL (using C#.NET 2.0) to use in my VB6 app. OK. It worked well in my dev computer where i compiled it and let VS2005 register it for COM Interoperation. But I need to use this COM DLL in another development enviroment (and further put it in a production enviroment) without VS2005. I`ve tried the regasm utility and intellisense works there in VB6, but I get an error when I try to run my project (Automation Error. The system cannot find the file specified"). Any hint? Thanks
-
Hi... I`ve done a COM DLL (using C#.NET 2.0) to use in my VB6 app. OK. It worked well in my dev computer where i compiled it and let VS2005 register it for COM Interoperation. But I need to use this COM DLL in another development enviroment (and further put it in a production enviroment) without VS2005. I`ve tried the regasm utility and intellisense works there in VB6, but I get an error when I try to run my project (Automation Error. The system cannot find the file specified"). Any hint? Thanks
I think you either need to add a reference to the dll project, or the path to the dll to your development environment's search path.
-
Hi... I`ve done a COM DLL (using C#.NET 2.0) to use in my VB6 app. OK. It worked well in my dev computer where i compiled it and let VS2005 register it for COM Interoperation. But I need to use this COM DLL in another development enviroment (and further put it in a production enviroment) without VS2005. I`ve tried the regasm utility and intellisense works there in VB6, but I get an error when I try to run my project (Automation Error. The system cannot find the file specified"). Any hint? Thanks
You could try REGASM Assembly.DLL /CODEBASE. That way the current location of the assembly is recorded in the registry. David