ActiveX can't create object

  • Thread starter Thread starter Entropia
  • Start date Start date
E

Entropia

Hey,

I hope that this is the right group to post my problem. I have a program
(VB.NET) that uses a dll. The program runs perfectly. So I decide to test
the program on a server without visual studio. But on the new pc I alway get
the error "ActiveX can't create object". I have no idea anymore what to do
to solve this (tried severel answers found on the internet, but not one of
them helped).

This is what I do:
Dim net27 as new Net27APIContainer()
That work fine on the other pc. But the following gives me the error:
net27.connected = true

Can someone help me, step by step, to check what can create this problem?

Thanks a lot in advance!

Leen
 
the program on a server without visual studio. But on the new pc I alway get
the error "ActiveX can't create object". I have no idea anymore what to do
to solve this (tried severel answers found on the internet, but not one of
them helped).

1. Is the .Net framework installed on the new PC?
2. Is the ActiveX control you are using installed and registered on the
new PC?

Chris
 
Hey
1. Is the .Net framework installed on the new PC?
Yes, the .Net framework is correctly installed.
2. Is the ActiveX control you are using installed and registered on the
new PC?

I suppose not. There's no VS on this pc. How do I install the ActiveX and
register it on the new pc?

I tried to register the dll using regsvr32. The net27.dll registred fine,
but my program uses interop.net27.dll. And this one I don't get registred
like this. Is this the right way, what am I doing wrong???

Thanks for the help!

Leen
 
I tried to register the dll using regsvr32. The net27.dll registred fine,
but my program uses interop.net27.dll. And this one I don't get registred
like this. Is this the right way, what am I doing wrong???

You may need to use RegAsm to register the interop, but I'm not sure.
 
Back
Top