tags:

views:

116

answers:

4

Hi

I am getting error : ActiveX component can't create object. Actually I have VB6 Dlls where business logic is reside and I am calling that dll function in my vb.net application , all dlls are dependent on other dlls.I am getting the error from one of the dlls

waiting for you valuable thoughts

Thanks

+5  A: 

Usually that error points to a COM dll that is not registered. You need to look at the chain of calls and find out which COM components you need and make sure they are available. Process Monitor (from sysinternals) may help you find it when it reads from the registry and can't find it.

Otávio Décio
+1. Added link to Process Monitor
MarkJ
Thank you, Mark.
Otávio Décio
A: 

Also check permissions. The user account that the vb.net application is running under will need permissions to be able to create the vb6 dll

DannykPowell
+1  A: 
CMH
Yes, I have Source code of the Dlls
A: 

Process Monitor will definately help find the missing DLL, but frequently the task can be achieved more quickly with Dependency Walker.

Kris Erickson