Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Installing application on machines with older version of Measurement Studio

When installing our application using the measurement studio 7.0 2d graphing control users are sometimes running into a problem when measurement studio 6 is already installed.

While starting the program, they receive the error "Error loading control. A newer version needed. The default settings for the control will be used.". Behind that is the 30 day evaulation period has ended message. Upon attempting to graph, the words evaluation copy shows up in the upper corner and a message saying "Invalid Index" appears.

We've replicated the problem here and have tried the license fixing programs found on the NI site. However, no licenses are reported broken when running the versions for Measure
ment Studio 6 and 7.

I recall when installing Measurement Studio 7 a bug where for ms7 and 6 to coexist, 7 must be installed first then 6. I do not know if this fits that scenario as 7 is not being installed, only the cwui.ocx control is.

Any solutions, thoughts, or assistance are appreciated. The only thing I have not tried is reinstalling ms6 to see if the problem goes away. That will be my next step.

TIA
0 Kudos
Message 1 of 5
(4,385 Views)
Hello,
It sounds like the machine on which you installed the application has an older version of the cwui.ocx control than the version used to build the application. Is your installer installing the same version of the cwui.ocx control that you built your application with? Could you please check the version of the cwui.ocx control on the machine where you replicated the problem and provide me with this information?

Thanks
Nauman
0 Kudos
Message 2 of 5
(4,385 Views)
Hello Nauman,
I have similar problem, exactly same message appearing when distributing our application  on some PCs.
I checked the version of cwui.ocx as you were advising, indeed both PC (the one used for development, and the other one) do not have same version.
We tried to replace the older one. The message is still appearing. Maybe because also others ActiveX are not up to date (cw3dgraph.ocx)? Maybe we are not following correct way to update this?
Before seeing your message I thought it was a problem of licence activation since we moved to Version 8 recently.
What is your opinion about this?
Thanks in advance,
Alia
0 Kudos
Message 3 of 5
(4,152 Views)

Hi Alia,

Does your development machine have the newer cwui.ocx file or the target machines?  Have the target machines ever had Measurement Studio installed on them, if so, what version. 

You can try replacing the older cwui.ocx and cw3dgraph.ocx and registering them.  To do this go to Start >> Run and type in cmd to open the command prompt.  In the command prompt type: regsrv32 <path and filename of the ocx file>.

Message 4 of 5
(4,136 Views)
Hi Terry,
That's great, you solved my problem, thanks a lot. I registered the controls, and now it works. Just a note, you misspelled the command, it is not regsrv32 but regsvr32, and the path must be written inside quotation marks.
Have nice day,
Alia
0 Kudos
Message 5 of 5
(4,130 Views)