Problem with running .Net COM object from VB6 project

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
 
J

Jeremy

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
 
M

Mattias Sjögren

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top