Groups | Blog | Home
all groups > vb.net upgrade > july 2003 >

vb.net upgrade : Problem with running .Net COM object from VB6 project


Evgueni Zoldin
7/7/2003 1:19:13 PM
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

Jeremy
7/7/2003 1:19:29 PM
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


[quoted text, click to view]
Mattias Sjögren
7/8/2003 1:34:17 AM

[quoted text, click to view]

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

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
AddThis Social Bookmark Button