-
May 2nd, 2013, 10:02 AM
#1
Thread Starter
Fanatic Member
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
-
May 2nd, 2013, 10:13 AM
#2
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.
-
May 2nd, 2013, 10:27 AM
#3
Thread Starter
Fanatic Member
Re: mscomctl.ocx could not be loaded
-
May 2nd, 2013, 11:32 AM
#4
Re: mscomctl.ocx could not be loaded
Did you happen to recently install Office 2010?
-
May 2nd, 2013, 11:33 PM
#5
Thread Starter
Fanatic Member
Re: mscomctl.ocx could not be loaded
Hi
It's Office 2007
Thanks
-
May 4th, 2013, 02:31 PM
#6
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!
-
May 5th, 2013, 06:08 AM
#7
New Member
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.
-
May 5th, 2013, 07:46 AM
#8
Thread Starter
Fanatic Member
Re: mscomctl.ocx could not be loaded
Hi
Still not working
Thanks
-
Sep 10th, 2014, 05:39 PM
#9
Frenzied Member
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?
-
Sep 10th, 2014, 06:19 PM
#10
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
-
Sep 10th, 2014, 06:23 PM
#11
Frenzied Member
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.
-
Sep 10th, 2014, 07:18 PM
#12
Frenzied Member
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!
:-)
-
Sep 10th, 2014, 08:31 PM
#13
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|