09-12-2007 04:05 PM
09-12-2007 05:54 PM
Hi KBr,
I assume you were using the CWGPIB and CWSerial ActiveX controls right? What
version of Visual Studio were you previously using (VS 6.0, .NET 2003)? Also
what language were you programming in (C++, VB, etc) and what language are you
in now (C++, VB.NET, C#)?
Also what version of Measurement Studio did you purchase (Standard,
Professional or Enterprise)? The reason I ask is that those CWGPIB and CWSerial
ActiveX controls are legacy components and you will need the Measurement Studio
for Visual Studio 6.0 support to have these components. This CD only comes with
the Professional and Enterprise versions of Measurement Studio.
My guess is that you only have the Standard Edition which doesn't come with the
VS 6 support.
If you are programming in .NET (C#, VB.NET), I highly
recommend that you use the native .NET VISA and GPIB class libraries with
Visual Basic .NET rather than the ActiveX controls. The .NET class libraries
are more full featured, exhibit better performance, and should be much more
natural to use in VB.NET or C# than the ActiveX controls.
Hope this helps!
Best Regards,
09-13-2007 08:10 AM
09-13-2007 09:30 AM
Hi KBr,
You can actually install the Measurement Studio support for Visual Basic 6.0
without having Visual Basic 6.0 installed on your system. This will install all
the legacy ActiveX controls, including the CWSerial and CWGPIB controls and
they will be registered properly. So just run the Measurement Studio for Visual
Studio 6.0 installer, deselect the "Measurement Studio for Visual
C++" option (though it should have a red X next to it by default since we
recognize C++ isn't installed) and make sure the "Measurement Studio for
Visual Basic" option is selected.
Then you should be good to go.
Best Regards,
09-13-2007 10:46 AM
Hi KBr,
Just out of curiosity, did you uncheck the Red X next to the Measurement Studio for Visual C++ option when you tried to install? I am guessing that is what you did and then when trying to install, it said it couldn't find Visual C++?
Thanks
09-13-2007 11:18 AM
09-13-2007 11:24 AM
09-13-2007 11:49 AM
09-13-2007 12:22 PM
Hi KBr,
You can't just copy over an exe to another computer and expect it to run
without moving over all of its dependencies (dlls, ocx's, etc). It’s
always best to create a Visual Studio installer that will hopefully grab all
the required components that the exe needs. For distributing Measurement
Studio applications, refer to the Deploying Measurement Studio Applications help
topic in the NI Measurement Studio Help. This talks about all the
required files and merge modules needed.
Best Regards,