LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to control (Minimize and maximize) external application

Solved!
Go to solution

I am trying to control an external window from my application.  I have done this years ago using the   "labview_win_util32_" but it doesn't seem to work quite the same on Windows 10.  Specifically when I give the VI "Minimize Window.vi" the program to minimize it gives an error. upon further investigation the "Get Window RefNum.vi" that calls the "user32.dll" returns 0 instead of a refnum which gives me the error.  It does not give an error on talking to he the .dll though.

 

  Has anyone successfully minimized an external program with 2016 and windows 10?

0 Kudos
Message 1 of 2
(3,764 Views)
Solution
Accepted by topic author GeneHancock

Update:  

My Mistake.  I was not using the correct program name.  Turns out there was additional info in the name.  

0 Kudos
Message 2 of 2
(3,729 Views)