Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General / July 2008



Tip: Looking for answers? Try searching our database.

ActiveX 'Registration'

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lorin - 30 Jul 2008 21:45 GMT
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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.