|
Registering an ActiveX Control is very simple. Once a control
is registered, it will be recognized by the system. The first
step is getting the path to the ActiveX Control. You can do
this a number of ways, such as browsing to the control location
and copying the path in the Explorer address bar, or searching
for the file. For this example I am going to register the
PlayList.ocx control that is located in C:\Program Files\Moon
Valley Software\CD Ultra\Bin\activex on my machine.
Windows has a program called "regsvr32" that is
used to register controls. To register a control, go to Start->Run
and enter regsvr32 followed by the path and name of the control
you want to register. Place the path in quotations. For example,
to register the PlayList.ocx control I would enter:
regsvr32 "C:\Program Files\Moon Valley Software\CD Ultra\Bin\activex\PlayList.ocx"
After pressing OK, you should see a message box saying it
succeeded.

To un-register a control add "/u" after regsvr32.
For example, to un-register the PlayList.ocx control I would
enter:
regsvr32 /u "C:\Program Files\Moon Valley Software\CD
Ultra\Bin\activex\PlayList.ocx"
After pressing OK, you should see a message box saying it
succeeded.

To view a list of options for the regsvr32 program enter
only "regsvr32" in the run box.
![[screenshot]](images/regsvr32.gif)
![[screenshot]](images/regsvr32-usage.gif)
|