Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

ApplicationX stopped working

I have this "Hello world" Visual Basic program (ApplicationX) that works on Window 7 Enterprise OS 64 bits.

The program was compiled on Visual Studio 2010 premium with Measurement Studio Enterprise 9.0.0.292

 

I added just one waveformGraph, with nothing in it.

I can install the new version of the programm on the machine, but I can't run it.

 

The error message is: "ApplicationX stopped working.  a problem caused the program to stop working correctly.  Please close the program.

 

Any idea why it stop working?

0 Kudos
Message 1 of 14
(6,073 Views)

It is defenitely something weard as nobody has answer me!  The program is nice and simple, and only adding the graph cause the error.  If I am doing a simple program, it is because my real huge program bug every time we try to open a window with measurement studio control in it, and people begin to look for another solution to do their work! I am not interesting to start again, so please, please-please-please, I need some help here!

0 Kudos
Message 2 of 14
(6,069 Views)

Hi tilew,

 

Are you able to compile and run a sample application that is using waveform graphs?

 

You can find the sample applications by going to Start » All Programs » National Instruments » Measurement Studio 2010 for Visual Studio 2010 » .NET Examples. From there you can navigate to UI » WindowsForms » Graph » Plotting » vb and see an example that is using waveform graphs. See if you are able to compile and run the example on the Development machine.


Milan
0 Kudos
Message 3 of 14
(6,059 Views)

I tried the plotting sample and I got the same error message...

0 Kudos
Message 4 of 14
(6,057 Views)

Hi tilew,

 

Can you confirm that you are not able to run the application on the computer that has the development environment installed?

 

If this is the case, can you post a screenshot of the exact error message that you are getting?


Milan
0 Kudos
Message 5 of 14
(6,053 Views)

I am sorry, I misunderstood what you asked me.

 

On the machine where I develop the programs or run the sample, it works fine (this machine is also a Window 7 Enterprise OS, 64 bits).

 

If I tried to deploy the program on other machines, there comes the error message

0 Kudos
Message 6 of 14
(6,051 Views)

Hi tilew,

 

The most likely reason for this behavior is that the computer you are deploying to does not have the correct .NET assemblies installed (i.e. the Measurement Studio assemblies for graphs and analysis, etc.)

 

The recommended way to distribute Measurement Studio applications is to create an installer that includes the required dependencies. Instructions for creating an installer can be found in the KnowledgeBase article Distributing Measurement Studio Applications in Microsoft Visual Studio 2003/2005/2008/2010


Milan
0 Kudos
Message 7 of 14
(6,036 Views)

I already new the way to distribute Measurement Studio applications. 

 

I also tried to make the references as "copy local = true".

 

Don't forget that the "hello world" test program has one button that says "hello world" and one graph only and the references are very limited.  The problem is more than that.  Maybe it is licensing related problem, or the configurations might be wrong, like the choice on CPU... still working on it...

0 Kudos
Message 8 of 14
(6,025 Views)

Hi tilew,

 

While testing, you should create a deployment using the example program mentioned above to see if you get the same beahvior.


Milan
0 Kudos
Message 9 of 14
(6,020 Views)

Hello Milan

I tried the sample long time ago and it is the same error. 

 

0 Kudos
Message 10 of 14
(6,019 Views)