01-05-2009 07:52 AM
Hello!
I hope somebody can help me out of this one:
I'm using Measurement Studio 8 with Visual Basic Express 2008. Everything works fine on the pc I'm programming on.
But after deploying the project and installing it on other machines some elements don't look correct or they are completely gone.
I've attached some screenshots for demonstration.
Does anyone have an idea?
Thank you in advance!
Solved! Go to Solution.
01-05-2009 08:26 AM
Hi tyketyke,
The problem looks to be that you are using 3D styles and you probably don't have the 3d styles components on that target machine. How are you deploying your project? Did you build a Visual Studio setup project and run that setup.exe on your target system? If so, you are probably missing a dependency in your project. Take a look at the Measurement Studio .NET Merge Modules help topic in the NI Measurement Studio Help. It lists out all the merge modules that you need to include in your distribution based on what components you are using. In particular, look at the NationalInstruments.UI section and make sure you are including all the required components (i.e. also make sure too look at the notes toward the bottom of this page as they are very important).
Best Regards,
01-05-2009 09:31 AM
Jonathan,
thank you very much for your fast reply and the hint with the 3D styles. With the new information I also found this article concerning the same problem:
http://digital.ni.com/public.nsf/allkb/F1F59ECC0EB79ADB8625749E002F8A65
Unfortunately everything seems to be a bit different with Visual Studio Express. I can't make setup projects, I can only make a very basic installer. Nevertheless I can chose which modules should be integrated. As you can see in "modules.jpg" even
NationalInstruments.UI.Styles3D.dll |
is included. Later all files appear in my deploy folder (see "installfiles.jpg").
regards,
Andreas
01-05-2009 12:07 PM
Hi Andreas,
As mentioned in our help, you also need the Microsoft ATL and CRT DLLs if you are using 3D styles. You can see the specific DLLs you need in the .NET XCOPY Deployment Files help topic. In your case, its the following:
Best Regards,
01-06-2009 04:51 AM
Hi Jonathan!
Untill I made an Installer I manually copy mesa.dll to System32 and now it works!
Thank you very much for your help!!!
regards,
Andreas