MSCOMCTL Win7 Error


Author: Dave
Date: 05.18.14 - 3:02pm



A friend told me that some on my VB6 projects were having an error when opened on Win7 machine. "Object Library Not Registered"

Looking at the .log files created for the forms, it was the mscomctl.ocx that was not loading for some reason.

After a fair amount of googling it appears that this broke back in August with the installation of IE10. Other users also made reference to ADO not working with some security updates.

After more and more googling, a fix turned up that worked for me:

cd C:\Windows\SysWOW64\
regtlib msdatsrc.tlb


In related news, I tried opening a project built on a Win7 machine the other day and had the problem that mscomctl would not load. In order to fix this on my XP system, I had to open the vbp and frm files in notepad to manually change the version for MsComCtl.ocx from 2.1#0 to 2.0#0




Comments: (0)

 
Leave Comment:
Name:
Email: (not shown)
Message: (Required)
Math Question: 94 + 45 = ? followed by the letter: D 



About Me
More Blogs
Main Site
Posts: (All)
2024 ( 1 )
2023 ( 9 )
2022 ( 4 )
2021 ( 2 )
2020 ( 4 )
2019 ( 5 )
2018 ( 6 )
2017 ( 6 )
2016 ( 22 )
2015 ( 15 )
2014 (25)
     Query Last 12 Mos
     Progid from Interface ID
     VB6 to C Array Examples
     Human Readable Variant Type
     ScriptBasic COM Integration
     CodeView Addin
     ScriptBasic - Part 2
     Script Env
     MSCOMCTL Win7 Error
     printf override
     History Combo
     Disable IE
     API Hooking in VB6
     Addin Hook Events
     FastBuild Addin
     VB6 MemoryWindow
     Link C Obj Files into VB6
     Vb6 Standard Dlls
     CStr for Pascal
     Lazarus Review
     asprintf for VS
     VB6 GlobalMultiUse
     Scintilla in VB6
     Dynamic Highlight
     WinVerifyTrust, CryptMsgGetParam VB6
2013 ( 4 )
2012 ( 10 )
2011 ( 7 )
2010 ( 11 )
2009 ( 3 )