Some notes on software development... RSS 2.0
# Wednesday, 31 July 2013

Whilst tying to open a legacy app at work today there were multiple ‘Object Library Not Registered’ errors. Looking at the offending form log file shows some Microsoft common controls that don’t appear to get loaded correctly:


Current development environment is Windows 7 64-bit. Strangely I has previously managed to build the same application from the VB6 IDE a few months ago. Having searched the web it looks like the automatic upgrade of IE10 has broken something with the registration of MSCOMCTL.OCX….thanks Microsoft.

The Answer
Apparently uninstalling IE10 fixes the issue. For me this is not an option as I require IE10 during everyday development.
There were also many posts about re-registering MSCOMCT.OCX & MSCOMCT2.OCX from the SYSWOW64 folder…this did not work for me.

The post mentioned above contains the answer, see post #60
Register the MSDATSRC.TLB file using REGTLB.EXE from an elevated visual studio command prompt like so:

regtlb C:\Windows\SysWOW64\msdatsrc.tlb


Bingo! VB6 IDE is up and running……can’ believe I’m still mentioning VB6 in 2013 :-/

Windows 7 64-bit -- Library Not Registered problem

Common controls do not load in VB6 after IE10 installation

Wednesday, 31 July 2013 16:57:51 (GMT Standard Time, UTC+00:00)  #    -

Sign In
Total Posts: 116
This Year: 0
This Month: 0
This Week: 0
Comments: 36
About the author/Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2019
Hadrian Phillips

All Content © 2019, Hadrian Phillips
DasBlog theme 'Business' created by Christoph De Baene (delarou)