LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to control system execon front page

I am using the system exec.vi to open an executable but want to control where it opens on the front screen and make sure it stays on  top an in the same place each time I open the program, how do I achieve this?

0 Kudos
Message 1 of 2
(2,467 Views)

Is this some third-party executable? If so, Windows will typically control this unless the application was written in such a way that it stored its last position and then places itself into that same position. You can use the Windows API to set the position of windows. The Windows API Function Utilities (32-bit) for LabVIEW contains a "Move Window" VI that you can use. 

 

Note: Obviously I'm assuming you're using Windows. If you're using another operating system, there should be equivalent functions available.

Message 2 of 2
(2,455 Views)