by Allan Kim Eriksen
This package makes it possible to register and unregister activex components using VDF source code.
COM components are OCX, OLB, TLB and DLL files which have been designed for selfregistration.
In order to use such a component you will have to register them with windows. The standard way to do this is by calling an executable called REGSVR32.EXE already installed on the customer's PC. But this places a dependency between your application and the availability of the executable, although it will almost always be available.
This is a replacement of windows command file REGSVR32.EXE that you can use from inside your application.
I use it to activate OCX and DLL files that are used by my applications during startup of these applications.
All the OCX and DLL files that are required by the application have been placed in the
In addition because registration is now an internal process of your application you can now better handle errors and unforeseen situations as an external setup program can.
How to use
(Register bszip.ocx in the path you specified. Ie. path to programs directory)
(Unregister bszip.ocx in the path you specified. Ie. path to programs directory)
(Register bszip.ocx as above but only if it has not already been registered. This can be useful during startup of your application.) Remember that the Class ID can be found in the package you genereated with FlexCOM for the OCX or DLL file.
(Unregister bszip.ocx as above but only if it has not already been unregistered.
regserver.zip ~ 3kb
MSDN Distributing activex controls
Copyright © 1999 - 2002 VDF-GUIdance on all material published, for details see our Disclaimer.