Certain types of DLLs need to be registered, this includes DLL files which contain OLE (Object Linking and Embedding technology) components including ActiveX controls. Same pertains to OCX files which are variation of DLL file specifically designed for ActiveX controls storage.
Typically, DLL and OCX files are registered automatically when application is installed. But there are cases when registration didn’t happen due to some reason or component needs to be installed manually. In this case you need to use specific Windows OS utility to register it.
Regsvr32 is a Windows utility which can register and unregister OLE objects stored in DLL and OCX files. Regsvr32 stores information about OLE and ActiveX objects in Windows Registry.
Regsvr32 is included in every Windows OS installation and is located in the following folders:
But you don’t need to be in the specific folder to run the Regsvr32 command. You can run it from any location.
Below are instructions on how to run Regsvr32 from the command prompt.
Extension Details |
---|
![]() |
MIME Type |
![]() ![]() ![]() |
Identifying Characters |
![]() Hex: 4D 5A |
Opens with |
![]() ![]() ![]() |