To register, use command line:
regsvr32 %windir%\system32\filename.dll (or ocx)
To unregister, use command line:
regsvr32 /u %windir%\system32\filename.dll (or ocx)
If this is not the first time the dll is in use, you'll
want to unregister first.
%windir% is where your windows directory is, since you may
have either Windows or WINNT.
Hope this helps.