You can find tons of free download links all over the internet, but those sites always scare me as they might contain viruses or malware. For the newer VB6 Common Controls (MSCOMCTL.OCX):Īs far I could determine, there is no official download link from Microsoft for MSCOMCTL.OCX. Note: You must then unzip this exe to get the actual installable exe file.Ģ. The default download filename will be comctlzp.exe.
You must already have a license installed on your system by one of the products listed in the applies to section above in order to COMCT元2.OCX for development.ĭownload the COMCT元2 install package here: The setup program does not install a * license* to use COMCT元2.OCX for development. MSSTKPRP.DL Design-Time Stock Property Pages This will install the following files:ĬOMCT元2.DEP Dependency info for Visual Basic 5.0 Setup Wizard Once you are sure you have the correct Automation system files on your computer, you can install COMCT元2.OCX by executing COMCT元2.EXE. For the older VB 5 Common Controls (COMT元2.OCX): (Default download filename will be named Msvbvm50.exe)ġ. My guess is that if you have Office 97, Visual Basic 5.0, Visual Studio, Internet Explorer, or Visual C++, etc, you should already have these Automation system files.Įither way, if you do not have these files on your system, you must first download and install them as documented in the following Microsoft Knowledge Base article: I really don’t know how these files generally get installed on a new system if they are part of the main OS install, or if they get installed with other common Microsoft suites. You may or may not have these files on your system already. Step 0: Before installing either of the Microsoft Common Controls you must have the following versions of the Automation system files on your system: I suggest using it instead” – rpetrich Aug 13 ’09 at 0:44 “The earlier Common Controls 5.0 (comctl32.ocx) has better compatibility with XP/Vista than the Common Controls 6.0 (mscomctl.ocx). Regarding the older COMCT元2.OCX (VB5 era) versus the newer MSCOMCTL.OCX from VB6 era, one user on StackOverflow had this to say: The newer VB6 Common Controls (MSCOMCTL.OCX):
The older VB 5 Common Controls (COMT元2.OCX)Ģ. You must figure out which one you need.ġ. Note: There are TWO Common Control libraries out there.
Here is what I learned and how I got it working: Getting started I needed these files to run a FoxPro app that I had written which used the TreeView control from the VB6/MSCOMCTL.OCX library. I recently had to install the Microsoft Common Controls on an XP machine that had never had this stuff installed before… Probably these files were missing because this machine had never had Microsoft Office, or VB, or Visual Studio, or whatever suite installs these items.