Registering Controls:
To register an OCX type at the command prompt
regsvr32 whatever.ocx
Unregistering Controls :
To unregister an OCX type at the command prompt
regsvr32 -u whatever.ocx
You can also add right click context menu items to OCX files to perform these operations.