Resources for IT Professionals > Forums Home > Archived Forums Forums > Microsoft.com Engineering Operations > Having a problem with Mscomctl.ocx file which prevent me from opening a program. Help plz??
Ask a questionAsk a question
 

General DiscussionHaving a problem with Mscomctl.ocx file which prevent me from opening a program. Help plz??

  • Friday, June 26, 2009 12:10 AMdfherrero Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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

  • Monday, June 29, 2009 7:44 AMMartin Xie - MSFTMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    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.
  • Thursday, July 09, 2009 4:38 PMaclol Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I already have the file in my directory, when i run the REGSVR32 MSCOMCTL.OCX command i get this error: 0x8002801c

    Do you have a solution to this problem
  • Thursday, July 09, 2009 6:43 PMdfherrero Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Aclol,

    I had the same problem you had when i tried it but Martin gave me the solution on my other thread:

    http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/448bd73d-ccf6-4415-9180-52c03bd3bcd4

    To make it easier for you, this is what you have to do:

    1. Create a batch file using Notepad and name it "install.bat" if you want.
    2. Place this command inside "REGSVR32 MSCOMCTL.OCX" and save it (inside the directory where you have the MSCOMCTL.OCX file.
    3. Right-click the batch file and select "Run as administrator"

    That worked for me or you could just see the thread and check it out more detailed.

    Hope it Works
    • Edited bydfherrero Thursday, July 09, 2009 6:50 PM
    •