Problem with running .Net COM object from VB6 project

  • Thread starter Thread starter Evgueni Zoldin
  • Start date Start date
E

Evgueni Zoldin

Hi ALL,

On my PC installed together Visual Studio 6 and Visual Studio .Net. I've
created COM component in VB.Net and use it in project in VB6. On that PC
project runs OK. I've created Installation package in Visual Studio
Installer 1.1
The package is distibuted on another computer under Win2000 (with .Net
Framework same version as developer PC) and installed. Installation procees
ended successfully. But when the program starts error

Run-time error '429':
ActiveX component can't create object

appears and it's proved that error caused by the attempt to instanciate that
COM component. What is wrong?

Thank you
 
Although this question isn't off topic, you might get a better response in
teh InterOp group. Also, cross posting is hhighly frowned upon.

microsoft.public.dotnet.framework.interop

HTH,
Jeremy
 
What is wrong?

The assembly must be resigered with COM on the target machine. I don't
think VSI has any support for this, so you might have to use
RegAsm.exe or build your own tool to handle the registration.



Mattias
 
Back
Top