04-22-2008 08:03 AM
04-22-2008 09:58 AM
04-23-2008 09:10 AM
04-23-2008 08:41 PM
Hi drohacek,
Greatly appreciated your help. Yes, you're right. It works now. As you said, I used the Administrator a/c but the VS2005 is not running as administrator. After I changed it to "Run as administrator", it works !!
Thank you vvvvvvvvvvvvvvvvvvvvvvvvvery much. I've spent quite some time on it and the problem is solved now !! 🙂
Michael
04-24-2008 07:53 AM
Glad I could help - the problem looked familiar :).
- David
09-09-2008 11:01 AM
Hi Drohacek,
I had a problem with Measurement Studio v 8.5 for visual studio 2008 on Vista 64. From the visual basic project, I added the graph xy and tried to run for test. It always gives error as below:
Additional information: An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'NationalInstruments.UI, Version=8.5.35.220, Culture=neutral, PublicKeyToken=18cbae0f9955702a' or one of its dependencies. The system cannot find the file specified.
I have another vista 32 work fine.
Thanks for your help.
Tu
09-09-2008 11:57 AM
Hello Tu,
There are a couple minor changes that need to be made for your project to build on Vista 64. See the Measurement Studio Help topic "Using Measurement Studio on 64-Bit Operating Systems" for more information. I as well use a 64 bit Vista machine, and am confident that this topic will take care of the error you're seeing. Let us know if this does not resolve it for you!
NickB
National Instruments09-09-2008 02:21 PM
Hello Nickb,
Thanks for your reply. I could not find topic on my help document. However, I followed the guide from here: http://digital.ni.com/public.nsf/allkb/1580EBFBE2BC22A7862571BD0059692D. I set the short cut of VS run as Administrators but it still not work. The last hope that I need to turn off UAC to see it work or not.
When I tried to set target CPU as X86, then it works OK. I think I still missing some thing to get the correct setting for VS 2008.
Hope you can help me out.
Thanks,
Tu
09-09-2008 05:16 PM
Hello Tu,
You seem to have come across the answer yourself, but here is the text of that help document:
Measurement Studio class libraries are designed to work on 64-bit operating systems. However, Measurement Studio class libraries cannot be used in 64-bit applications. To use Measurement Studio class libraries on a 64-bit operating system, you must configure the projects that use the class libraries to build 32-bit applications or libraries. The following sections describe how to set the platform target for your project to ensure that the project builds a 32-bit application or library.
Complete the following steps if you create a Visual Basic .NET project without using a Measurement Studio project template:
Note If you created a Visual Basic .NET project using a Measurement Studio project template, then the platform target in your project is already set to x86.
Changing the target CPU should be all you need to do in this case. Let us know if you find otherwise
NickB
National Instruments
09-09-2008 08:19 PM