NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

close executable teststand

I have used Call Executable to open Windows Media Player from teststand.  When I am done with this application I would like to close it but I am unsure how to.
0 Kudos
Message 1 of 2
(3,608 Views)
Hi Brandon,

If you are wanting to close Windows Media Player programmatically, you will have to call into the ActiveX API for the Windows Media Player.  This is the preferred method, but you could also call "taskkill /IM wmplayer.exe" within the command prompt.  Let me know if you have any questions.

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