Cannot register MSCOMCT2.OCX using regsvr32
Hi there TechNet-ers !First, here are some specifics,My PC: Acer desktop model M5810My OS: Windows 7 Home Premium 64 BitsMy PC account setup: As AdministratorMy problem: registering MSCOMCT2.OCX (Microsoft DatePicker) (with the aim of using this control on a UserForm within Excel 2007)My context: Using VBA to enhance my personal Excel 2007 documents.My status: I do pretty well in VBA but am no professional programmerHere is what I did: 1) I copied MSCOMCT2.OCX to the C:\windows\SysWOW64 directory2) I clicked the Start Button and used the Run application to run this command: regsvr32 c:\windows\sysWOW64\mscomct2.ocx3) I got this reply: "The c:\windows\sysWOW64\mscomct2.ocx module has been loaded, but the call to DllRegisterServer has failed, with the error code 0x8002801c"4) After having googled "DllRegisterServer" somewhat, I'm left with the impression that what I must do is to find a way of telling Windows that I want to run that command in Administrative Mode. I know my PC account is already set to Administrator, but it seems this is not enough and that Windows must still be told to run the command in Administrative Mode. But I don't know how to do that. Or is it really a matter of Administrative mode ?5) I've repeated the same steps, this time with mscomct2.ocx copied to the c:\window\system32 directory but I get the same error message as before. Can somebody provide some help ?Thanks for listeningExcelBoy
January 24th, 2010 10:37pm

Hello, 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. How to run that command 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.ocxThomas77
Free Windows Admin Tool Kit Click here and download it now
January 25th, 2010 12:40pm

Dear Thomas77I wish to thank you very much for your help with registering mscomct2.ocx over Windows 7 64 bitsIt worked !ExcelBoy
January 25th, 2010 4:45pm

Many thanks for the reply. I lost a whole day until I found this link, which is the only and it worked. thank you very much again.
Free Windows Admin Tool Kit Click here and download it now
April 27th, 2010 8:04am

Hi Thomas77, Thank you very much for your help! coolleahcim
December 24th, 2010 6:49am

Hi I have the same problem and i don't have sysWOW64. I am running Win7 64
Free Windows Admin Tool Kit Click here and download it now
July 7th, 2011 1:30pm

It worked, thanks a lot!
July 8th, 2011 4:49pm

If you're running win 7 64 you definetely have it. C:\Windows\sysWOW64
Free Windows Admin Tool Kit Click here and download it now
July 8th, 2011 4:51pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics