3

How to install programmatically a current version of mscomctl.ocx on a Windows 8.1 system, so that version 2.1 of the type library is registered? Installing the ancient "Common controls" download only installs version 2.0. I think I need the update related to MS12-060, which would be now KB2726929, but this update doesn't install when MS Office is not installed.

A few other questions are related, but they mostly deal with the effects of the updates mentioned above. I'd like to build a system where I can compile VB6 projects that refer to version 2.1 of the mscomctl.ocx type library.

Community
  • 1
  • 1
krlmlr
  • 25,056
  • 14
  • 120
  • 217
  • Why don't you just copy the file from a machine that has the update installed? Use Regsvr32.exe to register it. – Hans Passant Feb 17 '15 at 16:58
  • @HansPassant: I was hoping for a more "official" way -- as a last resort, your suggestion surely will work. – krlmlr Feb 17 '15 at 17:54
  • Have you checked http://www.microsoft.com/en-us/download/details.aspx?id=10019 yet? – Bob77 Feb 17 '15 at 18:50
  • Oops, sorry. That package only has one with the 2.0 interfaces defined. – Bob77 Feb 17 '15 at 19:01
  • Even if you "steal it" (it seems to be considered part of Office) from another mchine you might consider http://support.microsoft.com/kb/2597986 – Bob77 Feb 18 '15 at 00:17

1 Answers1

2

Install the latest cumulative roll-up components for VB6 - this one is included in the list.

https://support.microsoft.com/en-us/kb/957924

  • This only updates the file if it was already installed. See http://stackoverflow.com/questions/25634767/mscomctl-ocx-missing-on-windows-2008-r2 – ryanmonk Feb 28 '17 at 07:55
  • 1
    The person asking the question already stated that he is looking to upgrade to "a current version" - so the link doing the upgrade will be exactly what he would need. Alternatively - you can always unpack the patch (e.g. by using 7-ZIP) and copy the files (to C:\Windows\SysWOW64) and manually register them (by running C:\Windows\SysWOW64\regsvr32 ) – Vladimir Strinski Mar 01 '17 at 08:55