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

Re: ActiveX can't create object by Chris

Chris
Mon Oct 27 10:40:50 CST 2003

On Mon, 27 Oct 2003 16:29:43 +0100, Entropia wrote:

> 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
--
Chris

To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.

Re: ActiveX can't create object by Entropia

Entropia
Mon Oct 27 10:52:33 CST 2003

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


"Chris Dunaway" <dunawayc@_lunchmeat_sbcglobal.net> wrote in message
news:14cpb89cbb17i.j1x1bg800z91.dlg@40tude.net...
> On Mon, 27 Oct 2003 16:29:43 +0100, Entropia wrote:
>
> > 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
> --
> Chris
>
> To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
> address.



Re: ActiveX can't create object by Chris

Chris
Fri Oct 31 16:29:15 CST 2003

On Mon, 27 Oct 2003 17:52:33 +0100, Entropia wrote:

> 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.

--
Chris

To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.