Friday, December 24, 2010


0x8002801c How To Register OCX Files in Windows 7 And Vista

Registering MSCOMCT2.OCX (Microsoft DatePicker) (with the aim of using this control on any of your development / application) may take you to an error code 0x8002801c.
The c:\windows\sysWOW64\mscomct2.ocx module has been loaded, but the call to DllRegisterServer has failed, with the error code 0x8002801c"
Registering OCX Files In Windows 7 and Windows Vista:
Note: You need to copy the MSCOMCT2.OCX file to c:\windows\sysWOW64 not c:\windows\system32. You then can register it by running from the command prompt or run in the start menu regsvr32 c:\windows\sysWOW64\mscomct2.ocx and it should register although make sure that you run regsvr32 with administrator privileges.
Copy MSCOMCT2.OCX to the C:\windows\SysWOW64 directory. Please note that when you are using Windows 64Bit, you need to copy to SYSWOM64 Folder in Windows. And incase if you are using 32 Bit Windows, you wont find any folder like SYSWOW64. So, you need to copy the OCX file to Windows / System.

How to Register .OCX File From Command Prompt in Administrative Mode
  1. Click the Start button, then in the "Start Search" box, type CMD but DO NOT press Enter yet.
  2. In the list above, under "Programs" right-click on CMD that appears above and choose "Run as Administrator" and click "Continue".
  3. In the open window, type the following command and press Enter:
regsvr32 c:\windows\sysWOW64\mscomct2.ocx
Hope, this will help. The above method is explained to register MSCOMCT2.OCX File, you can register any OCX File using the above method. The only thing is, you need to copy the file to the SYSwow64 folder and then use the command prompt in Administration Mode and give the folloing command.
regsvr32 c:\windows\sysWOW64\filename.ocx
Note: File name can be substituded with the OCX file you need to register.


About bench3 -

Haja Peer Mohamed H, Software Engineer by profession, Author, Founder and CEO of "bench3" you can connect with me on Twitter , Facebook and also onGoogle+

Subscribe to this Blog via Email :