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 · ·