|
Prev: Multiple-step operation generated errors. Check each status value.
Next: cSortedDictionary sort mode alphanumeric
From: Lorin on 30 Jul 2008 16:45 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?
From: expvb on 30 Jul 2008 17:07 "Lorin" <Lorin(a)discussions.microsoft.com> wrote in message news:7698C410-3069-4466-8D39-97116A0F3F99(a)microsoft.com... > 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? 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
From: Saga on 30 Jul 2008 17:27 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 -- "Lorin" <Lorin(a)discussions.microsoft.com> wrote in message news:7698C410-3069-4466-8D39-97116A0F3F99(a)microsoft.com... > 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? >
From: mayayana on 30 Jul 2008 18:03
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 > 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? > |