problem with mscomctl.ocx in vb6 ide
Posted on 2012-08-24
We develop VB6 applications on two different computers.
Recently, upon loading an application under development on one of the computers and attempting to open in VB6 IDE we received the following error message "path\MSCOMCTL.OCX" could not be loaded-Continue Loading Project?
The project opened on the other computer without the error message appearing.
We then opened an earlier version of the program in IDE and it opened without the error message appearing. This earlier version had been changed and saved at an earlier time.
I opened the .VBP file using notepad and viewed the information below for MSCOMCTL.OCX.
I then opened the .VBP file for the version that give the error message above and also viewed MSCOMCTL.OCX
The only difference was the information in the enclosed #'s. The first shows #2.0#, and the second shows #2.1#. When I changed the #2.1# to #2.0# the version on the program opened without the error.
I am wondering if that information refers somehow to the version of the ocx?
When I load the program with the MSCOMCTL.OCX containing #2.0# to the other computer it loads without any errors, but if I make changes to the program in the IDE and save the project, the MSCOMCTL.OCX in the .VBD is automatically changed to #2.1# which won't work on the other computer.
When I look at the OCX in the \WINDOWS\SYSTEM32 folder and view its properties it shows version 188.8.131.52 with a comment of May 2, 2012. so somehow a later version seems to have gotten loaded. Don't know how this happened. It was not an intentional change, but somehow it got changed.
Any help here is appreciated. We need to get the two computers in sync as far as the Microsoft OCX MSCOMCTL.OCX.