Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Error loading control in VB when compiling

Working with VB 6.0 on Windows XP and NI 6.0.
I recently upgraded to NI 7.0 to try fix a problem. It didn't and apparently it's better not to use 7.0 with VB 6.0. So I uninstalled it and went back to 6.0, which wasn't easy by the way.

Now I get this message when I compile the project:
Error loading control. A newer version needed. Default settings will be used.

How can I get rid of this error messages?

Thanks
Paul
0 Kudos
Message 1 of 2
(5,966 Views)
I'm not sure what you mean that it is better not to use 7.0 with VB 6.0. Did you have a specific problem when you did this?

Measurement Studio 7.0 includes support for VB 6.0 and VC 6.0 as well as support for Visual Studio .NET 2003. Measurement Studio 7.0 support for VB 6.0 and VC 6.0 is on a different CD than the support for Visual Studio .NET 2003. The Visual Studio 6.0 support CD has two installers: Setup.exe and MeasurementStudio6Updater.exe. Setup.exe installs exactly what was included in Measurement Studio 6.0. MeasurementStudio6Updater.exe installs updated ActiveX controls, which contain a variety of bug fixes. National Instruments does recommend that you install the latest controls, using MeasurementStudio6Updater.exe. If you experienced a problem do
ing that, please let us know so that we can help resolve the issue.

All of that aside, I believe the reason that you are getting the error message is that you saved your project when you had the 7.0 controls installed and now you are trying to load it with the 6.0 controls installed. Some properties were added in 7.0. The 6.0 controls do not have any way to interpret these properties, so they revert all properties to the default values. To get rid of the error message, you just need to save the project with the 6.0 versions of the controls. Note, however, that you will lose your previous settings and will have to go to the property pages to configure the controls again. Depending on how much configuration you have done, this might be sufficient motivation to re-install the 7.0 controls via MeasurementStudio6Updater.exe.
0 Kudos
Message 2 of 2
(5,966 Views)