Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

application exception not handled

I have a VB.NET winform app that I created that uses an unmanaged ActiveX control for knobs and sliders (cwui.ocx).

I created a setup project for it and it installs fine on my machine. The app runs fine too.

When I run it on another machine it installs fine, but when I run the program I get this error:
-------
MyApp.exe - Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process id=0x11c(284), Thread id=0x68(104).
Click OK to terminate the application.
Click CANCEL to debug the application.
-----

Any ideas???
0 Kudos
Message 1 of 2
(3,687 Views)
My first guess would be that you did not include the CWUI_OCX.msm merge module in your setup project. Since the OCX is installed on your development machine it will work fine, but without installing it on the deployment machine you will get errors.

The help topic:
ms-help://NI.MeasurementStudio/MStudioMain/static/Distributing_MStudio_Apps.html

Should explain.

Jeff
0 Kudos
Message 2 of 2
(3,685 Views)