Pour les professionnels de l’informatique > Forums - Accueil > Microsoft.com Engineering Operations > Having a problem with Mscomctl.ocx file which prevent me from opening a program. Help plz??
Poser une questionPoser une question
 

Discussion généraleHaving a problem with Mscomctl.ocx file which prevent me from opening a program. Help plz??

  • vendredi 26 juin 2009 00:10dfherrero Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    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 

Toutes les réponses

  • lundi 29 juin 2009 07:44Martin Xie - MSFTMSFTMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     

    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.
  • jeudi 9 juillet 2009 16:38aclol Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    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
  • jeudi 9 juillet 2009 18:43dfherrero Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    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