Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Help! a strange thing.

Hi, I met some strage thing. Can anybody told me what happened? :WAVE:

I wrote a VB6 code, which used the National Instruments ComponentsWork, and this code worked.

One day, my VB6 develop environment became un-integrated: the manu bar, the project explorer, the properties window, the forms editor, the code windows were all separated. I could move the manu and tool bar to the bottom of the screen, and the rest windows were still remained on the center of the screen. I selected the code windows, but the manu and toolbar was not activated.

Now, I formated my harddisk, re-installed Visual Basic 6.0, VBruntime, service package, and National Instruments ComponentsWork.
However, when I open the project I have written before, it indicates that "cwui.ocx" could be loaded, while I am sure the ComponentsWork "cwui.ocx" is in the directry.
The I continue loaded the project, and added the component by "browse", and then saved the project.
It has no error indication when I load the project again. However, when I run the code, it pops out a message box shows "Error loading control. A newer version needed. The default settings for the control will be used". and the title is "cwui".
I am sure it is the same version I used in the code.
Does anybody know what is the problem and how to solve the problem?
Thank you in advance.
[1381 byte] By [shuiqq] at [2007-11-11 6:53:11]