Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Problem with mscomctl.ocx
I'm having a problem with a VB6(SP5) project group. Sometimes when I load the group I get an error as some forms are loading. When I open the forms that threw the errors, every ImageList, ListView, TreeView, Toolbar, and every other control that uses mscomctl.ocx are PictureBoxes!
When I open the Components menu and try to select Common Controls, I get an error saying that the name is in conflict with another project, file, etc.
The log files contain messages similar to the following:
Class MSComctlLib.ListView of control lvwCommon was not a loaded control class.
I've tried rebuilding the affected projects and copying them over the old ones. The errors occur again after a few builds. Sometimes I can place the common controls on the form but can't declare variables of types contained in mscomctlLib (such as MscomctlLib.Button).
I've tried reinstalling VB6 several times, but this didn't fix the problem--in fact, after one reinstall a project somehow lost a reference to the common dialog control.
I'm running VB6 on a brand-new Win98 machine with very little software installed on it, so I don't think it's a conflict. The project builds and runs just fine on other Win98 machines. Has anyone out there had or heard of problems like this? I'd appreciate any input.
0 · ·