Register dll or ocx

   Posted September 4, 2003 by David Kirk in Windows

Instructions for manually registering a dll or ocx file on a Windows system.

To register a dll or ocx use one the following commands respectively:

regsvr32 file_to_be_registered.dll
regsvr32 file_to_be_registered.ocx

Likewise, to unregister a dll or ocx using the appropriate command:

regsvr32 /u file_to_be_unregistered.dll
regsvr32 /u file_to_be_unregistered.ocx

 

About David Kirk

David Kirk is one of the original founders of tech-recipes and is currently serving as editor-in-chief. Not only has he been crafting tutorials for over ten years, but in his other life he also enjoys taking care of critically ill patients as an ICU physician.
View more articles by David Kirk

The Conversation

Follow the reactions below and share your own thoughts.