If you are working for an old application you may be presented with the error:
Component ‘MSCOMCTL.OCX’ or one if its dependencies not correctly registered: a file is missing or invalid:
In this case you have two tasks to complete and neither of them are obvious:
MSCOMCTL.OCX is part of Visual Basic 6 Package and you can download you can just download the MSCOMCTL.OCX directly from us HERE.
UPDATE – MAY 2020- Alternately you can surf to the following address but we removed the clickable link because one of our security checks has marked it as an “aggressive site” so use at your own peril: daydownloads.com/microsoft-visual-basic-6-common-controls/
You need to know if you are using a 32bit or 64bit version of Windows and because this is not 2002, we are assuming you want to install it on a 64bit PC. If you try to register MSCOMCTL.OCX (which is 32 bit) on a 64 bit system and you put it in the typical C:\WINDOWS\SYSTEM32 folder you will get:
THE MODULE ‘MSCOMTRL.OCX’ WAS LOADED BUT THE CALL TO DLLREGISTERSERVER FAILED WITH ERROR CODE 0X8002801C
regsvr32 mscomctl.ocx
The process of downloading and installing MSCOMCTL.OCX is quite easy. Also, it’s a wise idea to scan everything you download from the internet using an antivirus software. Most top-notch antivirus software do this automatically anyway.
This website uses cookies.
View Comments
Is Working Fine! THANK YOU, SIR!
Thanks alot, it works under Windows 10 v1803.
MSCOMCTL.OCX was in \windows\syswow64, but i think registration was damaged.
New registration of the libary via regsvr32 solved the problem and saved me reinstall my laptop.
Cheers fix TASBooks error which occurred on WIN10 64bit installing O365 and uninstalling Office 2010.
Not even tryring to register librayr. Solved running software with compatibility to XP
I have just downloaded MSCOMCT2.OCX and installed it successfully [DllRegisterService in mscomctl succeeded] but when I attempt to set a reference to it with VBA Tools | References
it is __not__ listed.
OS = Windows 10
Any and all help much appreciated
Thank you
I'mm sorry but I have not done anything with VBA tools in... forever, so we are not going to be of much assistance once you get it registered
It worked! Thanks!
Thanks a lot saved me smashing my laptop.
If you read the MSDN link you posted for the downloading of MSCOMCTL.ocx, you'd see that under Details it says "This package will not install these Common Controls if they do not already exist on the target system."
Just to try it, I downloaded that Common Control Update from MSDN's site via the link you provided, and I do not have MSCOMCTL.ocx installed on my system. Strangely enough, the package didn't install the library (as it said it wouldn't). Might want to adjust your article to reflect this.
I have installed it more than once on desktops (never servers), without problems. It is possible that those PC's had MSCOMCTL installed at some point in their history.