Discussion:
Cannot create ActiveX component
(too old to reply)
Lorenz Ingold
2010-04-28 09:16:04 UTC
Permalink
Raw Message
I have two projects:
1. myVB6.exe plus aVB6.dll
2. myDOTNET.exe plus aVB6.dll
That is, both exe's use the dll (which is a COM component), with
"CreateObject" (late bound).
On my machine, both work. So everything must be correct (dll registered
etc...)
On an other machine, only project 1 work. Project 2 runs, as far as the pure
.NET parts are concerned, but as soon as it comes to "CreateObject", then
the exception "Cannot create ActiveX component" happens. I can't get any
additional information, that makes it so difficult. What can be the cause of
such behavior?
Maybe I must add some additional infos:
- the myDOTNET.exe is as .NET 2.0 project
- on the other machine there is only .NET Framework 3.5 installed.
- my machine is Windows Vista business
- the other machine is Windows Server 2008
Lorenz Ingold
2010-04-28 09:34:17 UTC
Permalink
Raw Message
Sorry for double entry. First I was not logged in correctly, then I
cancelled everything and restarted and created and published the text once
again, however the first time it was published, too; I don't guess why.
TDC
2010-05-13 12:03:39 UTC
Permalink
Raw Message
This could be a number of things. Do you have an Interop assembly for
you COM component?

On Apr 28, 5:34 am, "Lorenz Ingold" <***@winvs.ch> wrote:
> Sorry for double entry. First I was not logged in correctly, then I
> cancelled everything and restarted and created and published the text once
> again, however the first time it was published, too; I don't guess why.
Loading...