IT 专业人士的资源 > 论坛主页 > Microsoft.com Engineering Operations > Having a problem with Mscomctl.ocx file which prevent me from opening a program. Help plz??
提出问题提出问题
 

常规讨论Having a problem with Mscomctl.ocx file which prevent me from opening a program. Help plz??

  • 2009年6月26日 0:10dfherrero 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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 

全部回复

  • 2009年6月29日 7:44Martin Xie - MSFTMSFT用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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.
  • 2009年7月9日 16:38aclol 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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
  • 2009年7月9日 18:43dfherrero 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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