I've got a problem.
I created an Activex EXE (i want an out of process COM component, where multiple apps can share an instance).
Instancing: MultiUse
Persistable: 1 - Persistable
I created the EXE, registered it using MyOPC.exe /regserver, then added it to the References in my test project, and created a reference to it by doing the following:
Public WithEvents moNotify as MyOPC.NotifyMe
Form_Load:
set moNotify = new MyOpc.NotifyMe
OR
set moNotify = CreateObject("MyOpc.NotifyMe"
However, I keep getting "ActiveX Object Cannot Create Component" as an error after it hangs for a while.
Does anyone have any idea why this would be happening?
What am I doing wrong?
:-(
NipsMG
I created an Activex EXE (i want an out of process COM component, where multiple apps can share an instance).
Instancing: MultiUse
Persistable: 1 - Persistable
I created the EXE, registered it using MyOPC.exe /regserver, then added it to the References in my test project, and created a reference to it by doing the following:
Public WithEvents moNotify as MyOPC.NotifyMe
Form_Load:
set moNotify = new MyOpc.NotifyMe
OR
set moNotify = CreateObject("MyOpc.NotifyMe"
However, I keep getting "ActiveX Object Cannot Create Component" as an error after it hangs for a while.
Does anyone have any idea why this would be happening?
What am I doing wrong?
:-(
NipsMG