morrisbo
asked on
problem with mscomctl.ocx in vb6 ide
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.
Object={831FDD16-0C5C-11D2 -A9FC-0000 F8754DA1}# 2.0#0; MSCOMCTL.OCX
I then opened the .VBP file for the version that give the error message above and also viewed MSCOMCTL.OCX
Object={831FDD16-0C5C-11D2 -A9FC-0000 F8754DA1}# 2.1#0; 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 6.1.98.34 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.
Thanks,
Morrisbo
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.
Object={831FDD16-0C5C-11D2
I then opened the .VBP file for the version that give the error message above and also viewed MSCOMCTL.OCX
Object={831FDD16-0C5C-11D2
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 6.1.98.34 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.
Thanks,
Morrisbo
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for your comment.
I solved my problem by copying and registering the OCX from the computer with the later version to the computer giving the error message when opening the IDE.
morrisbo