Resources for IT Professionals > Página Inicial dos Fóruns > Microsoft.com Engineering Operations > Having a problem with Mscomctl.ocx file which prevent me from opening a program. Help plz??
Fazer uma PerguntaFazer uma Pergunta
 

Discussão GeralHaving a problem with Mscomctl.ocx file which prevent me from opening a program. Help plz??

  • sexta-feira, 26 de junho de 2009 0:10dfherrero Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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 

Todas as Respostas

  • segunda-feira, 29 de junho de 2009 7:44Martin Xie - MSFTMSFTMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    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.
  • quinta-feira, 9 de julho de 2009 16:38aclol Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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
  • quinta-feira, 9 de julho de 2009 18:43dfherrero Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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
    • Editadodfherrero quinta-feira, 9 de julho de 2009 18:50
    •