edward_ce
November 11th, 1999, 12:18 PM
I have a completed project that had been running for six months without any failure. This program is composed of two projects: an ActiveX control project, and the main program project. These two projects reside together in one project group. The ActiveX control project is compiled into an OCX file.
One day, for some reason, I went to the VB6 IDE and changed the logical name of my ActiveX control project. I changed only the logical name, not the physical name (.vbp) of the ActiveX control project. I re-compiled the ActiveX control project. From then on, a series of error messages had ensued. I remember that during the course of fixing the problem, I chose NO COMPATIBILITY in the Components tab of the project properties for my ActiveX project.
There was a time that I deleted all entries in the Windows registry pertaining to my ActiveX component. Then recompiled the ActiveX project only to get a series of error messages when I tried to recompile the main program project.
During the course of trying to fix the problem, I got the following error messages:
"Version 7.0 of .ocx is not registered. The control will be upgraded to version 13.0"
"Version 9.0 of .ocx is not registered. The control will be upgraded to version 16.0"
The present error message that I get when I open the Project Group within the VB6 IDE is "Error during load. Refer to 'C:\My Programs\frmMyForm.log" for details.
When I look at the contents of the .log file, it says that the class of a control was not a loaded control class. For example, the .log file would say something like "Line 18: Class MyComponents.MyControl of control ctlMyControl was not a loaded control class.
Everytime I try to compile the main program project, I get errors like: "Method or data member not found" which refers to the ActiveX MyControl.
Please help!!! I would appreciate your much sought-after answer to this problem.
One day, for some reason, I went to the VB6 IDE and changed the logical name of my ActiveX control project. I changed only the logical name, not the physical name (.vbp) of the ActiveX control project. I re-compiled the ActiveX control project. From then on, a series of error messages had ensued. I remember that during the course of fixing the problem, I chose NO COMPATIBILITY in the Components tab of the project properties for my ActiveX project.
There was a time that I deleted all entries in the Windows registry pertaining to my ActiveX component. Then recompiled the ActiveX project only to get a series of error messages when I tried to recompile the main program project.
During the course of trying to fix the problem, I got the following error messages:
"Version 7.0 of .ocx is not registered. The control will be upgraded to version 13.0"
"Version 9.0 of .ocx is not registered. The control will be upgraded to version 16.0"
The present error message that I get when I open the Project Group within the VB6 IDE is "Error during load. Refer to 'C:\My Programs\frmMyForm.log" for details.
When I look at the contents of the .log file, it says that the class of a control was not a loaded control class. For example, the .log file would say something like "Line 18: Class MyComponents.MyControl of control ctlMyControl was not a loaded control class.
Everytime I try to compile the main program project, I get errors like: "Method or data member not found" which refers to the ActiveX MyControl.
Please help!!! I would appreciate your much sought-after answer to this problem.