הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
Question
Friday, June 26, 2009 12:21 AM
I've been trying to open a program called 'DET 3' which is designed by the Honduran government and helps us pay taxes for the government. I've been getting this error message when I try to open the program "Component 'Mscomctl.ocx' or one of its dependencies not correctly registered: a file is missing or invalid" I need this program to work so I can pay my taxes before July 10th. Help please... Thanks
All replies (8)
Monday, June 29, 2009 7:44 AM ✅Answered | 1 vote
Hi dfherrero,
Welcome to MSDN forums!
getting this error message when I try to open the program "Component 'Mscomctl.ocx' or one of its dependencies not correctly registered: a file is missing or invalid"
-> The Mscomctl.ocx is Windows Common Controls.
Sometime certain Microsoft Libraries can become unregistered when installing and uninstalling a lot of software. One very common problem is the MSCOMCTL.OCX.
To correct the error, first search your drive for MSCOMCTL.OCX to see if you have it. If not you can download it from HERE: http://www.majorgeeks.com/files/mscomctl.zip
The file should be placed in your C:\WINDOWS\SYSTEM directory. Or, it's in C:\WINDOWS\SYSTEM32 if you are using WinXP.
Once it is there click START--> RUN and type "REGSVR32 MSCOMCTL.OCX" (No quotes) in the box to register this control.
That should fix the problem.
Tutorial: Explanation of Regsvr32 usage and error messages
http://support.microsoft.com/kb/249873
Best regards,
Martin Xie
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Tuesday, June 30, 2009 10:40 AM ✅Answered | 2 votes
Hi dfherrero,
The "Mscomctl.ocx" and the "MSCOMCTL.OCX" are the same one file.
Error: "The module "MSCOMCTL.OCX" was loaded but the call to DllRegister Server failed with error code Ox8002801c."
-> Please try the following suggestion to fix this issue:
- Register the "Mscomctl.ocx" control under Administrator role
New a batch file e.g. install.bat -> Place this command inside "REGSVR32 MSCOMCTL.OCX" and save it-> Right-click the batch file and select
"Run as administrator"
2. Install the "ActiveX Installer Service" in Vista via adding windows components, and then enable this service in services panel.
Please check these cases for reference:
http://www.codenewsgroups.net/group/microsoft.public.vb.general.discussion/topic17795.aspx
http://www.cryer.co.uk/brian/windows/trbl_nt_rgsvrfld8002801c.htm
Best regards,
Martin Xie
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Monday, June 29, 2009 3:13 PM
Martin,
Thanks a lot for you help, the file you told me 'MSCOMCTL.OCX' is im my C:\WINDOWS\System32 directory even though I have Vista Home Premium (I don't know if that is the problem since you told me it should be in the C:\WINDOWS\SYSTEM directory) When I try to run "REGSVR32 MSCOMCTL.OCX" another error message pops up which says,
"The module "MSCOMCTL.OCX" was loaded but the call to DllRegister Server failed with error code Ox8002801c. For more information about this problem, search online using the error code as a search term."
But, apparently the program I'm trying to use is having problems with the file "Mscomctl.ocx" and not with the "MSCOMCTL.OCX" file you mentioned above.
I tried downloading the file you gave me and replacing the file I already had and I still get the erro.
Thanks again
Tuesday, June 30, 2009 5:03 PM
Martin,
It was very hard understanding what I had to do but I finally got it. The program finally worked after I created the batch file and ran it under administrator role.
I did not run the ActiveX installer Service because apparently Windows Vista Home Premium doesn't have it because I can't find it in the Windows Features list.
But, now the program is asking for other .ocx files to perform other operations so should i have to create a new batch file for every file I want to fix or can I use the same batch file I used for MSCOMCTL.OCX for the other files?
Thanks a lot for your help I will finally be able to pay my taxes,
Best regards,
David Herrero
Thursday, July 2, 2009 8:54 AM | 1 vote
Hi David,
I'm glad to hear that you have registered the MSCOMCTL.OCX control successfully.
As for other .ocx controls, you don't need to create individual batch file for each, just only place such multiple commands as below into the same one batch file, then run it as administrator:
REGSVR32 MSCOMCTL.OCX
REGSVR32 OtherOCX1.OCX
REGSVR32 OtherOCX2.OCX
REGSVR32 OtherOCX3.OCX
Regards,
Martin
Thursday, July 2, 2009 5:43 PM
Martin,
Thanks a lot for all your help. It has all worked out how I wanted it.
David
Wednesday, May 25, 2011 6:58 AM
I recently had this problem in Windows 7 Pro SP1 after installing a program. I found many solutions - mostly variations of command line "regsvr32 mscomctl.ocx" and none worked. The only solution I found that did was your solution .... thankyou !
Monday, May 28, 2012 5:11 PM
I found a way to solve the problem.
After I replace the mscomctl.ocx and register it my problem was exist. So I went to Control Panel>Administrative tools>Services
COM+ System Application> Properties ,On general Tab Change startup Type to Automatic and on service status stop and start it. then restart my computer. And my problem GONE.