mscomctl.ocx could not be loaded-VBForums
Results 1 to 13 of 13

Thread: mscomctl.ocx could not be loaded

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2011
    Posts
    369

    mscomctl.ocx could not be loaded

    Hi

    In Windows 7 Ultimate when i check Microsoft Windows Common Controls 6.0 (SP6) it gives message '' could not be loaded. In windows Vista it is working fine .

    Thanks

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    11,726

    Re: mscomctl.ocx could not be loaded

    "Ultimate" eh? Got Manos Hands of Fate Black Comet 88000 Dungeon Master Edition hard drives too?


    Anyway, short answer: uninstall IE10.

    Long answer: read through Windows 7 64-bit -- Library Not Registered problem.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2011
    Posts
    369

    Re: mscomctl.ocx could not be loaded

    Hi

    I have I.E 9

    Thanks

  4. #4
    PowerPoster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    2,380

    Re: mscomctl.ocx could not be loaded

    Did you happen to recently install Office 2010?

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2011
    Posts
    369

    Re: mscomctl.ocx could not be loaded

    Hi

    It's Office 2007

    Thanks

  6. #6
    PowerPoster
    Join Date
    Aug 2011
    Location
    B.C., Canada
    Posts
    2,757

    Re: mscomctl.ocx could not be loaded

    If dilettante's link did not help (if you even looked at it) then make sure you run VB6.EXE as Admin all the time.
    If that did not work, unregister (might not be needed) mscomctl.ocx and register it again using CMD Prompt (run as Admin!), and use regsvr32 to register.

    Maybe your mscomctl.ocx is corrupted, try getting a new copy (not sure where but somewhere). Which service pack do you have? I have SP1 with windows 7 home premium and I have IE10 installed with Microsoft Office starter (2010), and lots of other programs installed (Ex: VS2010, VS2012) and NEVER had a problem with any ocx files!

  7. #7
    New Member Lee Chetwynd's Avatar
    Join Date
    May 2013
    Location
    Tamworth UK
    Posts
    2

    Re: mscomctl.ocx could not be loaded

    I know this is an old thread but I lost a day to this problem and it turned out to be something simple in my case, a bug I think in the IDE. There seems to be quite a few reasons for this happening but I'm trying to spread this solution around as much as possible. It may work for someone else too so its worth a try:

    Open VB6
    New project
    >Project
    >Components
    Tick the following:
    Microsoft flexigrid control 6.0 (sp6)
    Microsoft MAPI controls 6.0
    Microsoft Masked Edit Control 6.0 (sp3)
    Microsoft Tabbed Dialog Control 6.0 (sp6)
    >Apply

    When you try and add Windows Common Controls 6.0 (SP6) it no longer gives the message '' could not be loaded." instead it changes to "already in project" If you quit out and load your project you will find it will work again properly. Hope this helps.

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2011
    Posts
    369

    Re: mscomctl.ocx could not be loaded

    Hi

    Still not working

    Thanks

  9. #9
    Member
    Join Date
    Nov 2010
    Posts
    49

    Re: mscomctl.ocx could not be loaded

    Has anyone solved this problem?

    I know this is an old thread, but I did not see a resolution on this and I'm having this problem now.

    It simply tells me that MSCOMCTL.OCX cannot be loaded when I try to add it to a new project or I load an existing project that uses it.

    Something on my system must have changed but I do not know what.

    Windows Ultimate 64-bit with VB6 Professional.

    Any ideas?

  10. #10
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    8,594

    Re: mscomctl.ocx could not be loaded

    I just checked on my system and don;t have any issue loading it.

    Windows 7x64 SP1 Professional
    I do not use that PC for internet so it still has I.E. 8 on it, perhaps that is a factor.

    I would expect it to work the same under ultimate. I do have ultimate 64 and ultimate 32 on other systems one of them running I.E. 9 the other running Chrome haven't saw any issues on either of them.
    I do not have the newer versions of Office on any of them. Newest version I have installed is 2003

  11. #11
    Member
    Join Date
    Nov 2010
    Posts
    49

    Re: mscomctl.ocx could not be loaded

    I've never had a problem with this before.

    Was just a couple months ago I had to do some editing on one of my VB6 projects and it loaded just fine.

    But today, it just won't load MSCOMCTL.OCX

    The app itself works just fine. Just can't use the VB6 IDE.

    Even tried starting a new project. It will not allow me to add the control.

    Registered just fine. Unregistered and re-registered just fine.

    I'm really puzzled.

    I've removed IE 11 but that did not do anything. I don't think I have any IE left on my system.

    I use Office 2010. Has never been an issue.

  12. #12
    Member
    Join Date
    Nov 2010
    Posts
    49

    Re: mscomctl.ocx could not be loaded

    And finally, after many many hours, the solution has been found!

    http://www.fmsinc.com/microsoftacces...rols/mscomctl/

    And just in case this linked page ever goes away, here is the step-by-step:

    The 64-bit steps are identical to the 32 bit version except the folder is SYSWOW64 rather than SYSTEM32:

    Unregister the new OCX file. Open an instance of the Windows Command Prompt, paste the following command, and press <Enter>:
    Regsvr32.exe /u C:\Windows\SYSWOW64\MSCOMCTL.OCX
    Make a backup of the OCX file C:\Windows\SYSWOW64\MSCOMCTL.OCX to C:\Windows\SYSWOW64\MSCOMCTL.bak
    Copy a legacy version of the MSCOMCTL.OCX file to your C:\Windows\SYSWOW64 folder. For your convenience, a zipped copy from 2011 is here.
    Register this legacy OCX file with the following command:
    Regsvr32.exe C:\Windows\SYSWOW64\MSCOMCTL.OCX
    Unregister this legacy version of the OCX file:
    Regsvr32.exe /u C:\Windows\SYSWOW64\MSCOMCTL.OCX
    Delete the legacy OCX file: C:\Windows\SYSWOW64\MSCOMCTL.OCX
    Rename the new OCX file we renamed in step 2, back to its original name:
    C:\Windows\SYSWOW64\MSCOMCTL.bak to C:\Windows\SYSWOW64\MSCOMCTL.OCX
    Re-register the new version of the OCX file. Paste the following command and press <Enter>:
    Regsvr32.exe C:\Windows\SYSWOW64\MSCOMCTL.OCX
    Reboot the computer.

    It works!

    :-)

  13. #13
    Addicted Member
    Join Date
    Jul 2014
    Posts
    176

    Re: mscomctl.ocx could not be loaded

    Follow webbiz's solution... that's how to register the OCXs and DLLs..

    No need to restart the PC actually...

    Been doing that for almost 3 years here in the office...

    Syswow64 - Windows 7 64 bit
    System32 - Windows 7 32 bit
    If I had helped you...

    Don't forget to mark your Inquiry as RESOLVED...

    I will be glad if you can also give me some Reputation points in helping you (by Clicking Rate This Post)...

    Happy VB Coding Everyone!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.