Registers an ActiveX control.
REGISTERCONTROL("controlname", unregister)
|
"controlname" |
- |
A string. The name of the control DLL or OCX. |
||||
|
unregister |
- |
Optional. An integer, the unregister flag. |
||||
|
|
|
|
An integer, 1 if successful.
Registers the DADiSP Web control.
Unregisters the DADiSP Web control.
Most ActiveX controls require registration to place necessary information in the Registry. Although registration normally occurs when the control is first installed, REGISTERCONTROL offers a programmatic method for registering controls.
REGISTERCONTROL directly invokes the DllRegisterServer or DllUnregisterServer procedure located in the control DLL or OCX file.