VB6
On my dev PC I wrote and compiled an VB6 ActiveX .exe
My test VB6 app that uses it finds it in the References (Browser) and
connects.
All is well here. Even after I compile my app it still works fine (no
package/setup here).
On a targe maching I want to Copy the ActiveX .exe and make it known to
other applications.
regsvr32 does not recognize it so it will not 'register' it.
How do I do that other than package and install it from a setup?
Some tool like regsvr32?
expvb - 30 Jul 2008 22:07 GMT
> VB6
> On my dev PC I wrote and compiled an VB6 ActiveX .exe
[quoted text clipped - 8 lines]
> How do I do that other than package and install it from a setup?
> Some tool like regsvr32?
When you compile any ActiveX project, VB registers it. For other computers,
you need to register it. For ActiveX EXE, see this article:
How To Register and Unregister an Out-of-Process COM Component (ActiveX EXE)
http://support.microsoft.com/kb/297279/en-us
Saga - 30 Jul 2008 22:27 GMT
On your target computer... open a file explorer and navigate to the folder
where you have your Active X EXE. Double click it and it auto registers :-)
Regards
Saga

Signature
> VB6
> On my dev PC I wrote and compiled an VB6 ActiveX .exe
[quoted text clipped - 8 lines]
> How do I do that other than package and install it from a setup?
> Some tool like regsvr32?
mayayana - 30 Jul 2008 23:03 GMT
An ActiveX EXE is supposed to register itself if
you run it. You can do it directly by shelling
the file with the command line "/regserver"
C:\somefile.exe /regserver
There's also an option /unregserver
I'm not certain, but I think that using /regserver
will cause the file to also unload itself, whereas
just running the file will leave an instance loaded.
> VB6
> On my dev PC I wrote and compiled an VB6 ActiveX .exe
[quoted text clipped - 8 lines]
> How do I do that other than package and install it from a setup?
> Some tool like regsvr32?