LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.NET picturebox does not work in executable

Solved!
Go to solution

Hi there,

 

I have build an application which uses a picturebox to display the image that an IDS camera is aqcuiring. When running the application in the dev environment everything work fine. However, when I run the executable all of the property nodes return error 1. Does anyone know why this is happening?

0 Kudos
Message 1 of 5
(1,364 Views)

The left picture shows the value of the picturebox reference in the developement environment. On the right I try to do the same thing in the executable, but nothing shows. Does this mean the executable cannot find the .NET framework?

Ongelofeloos_0-1662637203312.png

 

0 Kudos
Message 2 of 5
(1,343 Views)

Without looking at your code I doubt anyone can give you any meaningful responses. In this case it's not even clean what the error is and where it's coming from.


___________________
Try to take over the world!
0 Kudos
Message 3 of 5
(1,337 Views)

Below you will see one of the processes of the program.

Ongelofeloos_0-1662642476666.png

This process receives the picturebox reference. When I use the ToString() function on the picturebox in the executable it returns an empty string.

0 Kudos
Message 4 of 5
(1,326 Views)
Solution
Accepted by topic author Ongelofeloos

I think that 'Reset all values to default' is the culprit.

0 Kudos
Message 5 of 5
(1,322 Views)