ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Closing a Program (explorer.exe)

Hi there ,
 
Does anyone know how do I close a program from LabView.
I need to close explorer.exe which is not called by Labview. I am using LabView7.0 Win XP.
Thank you in advance.
 
Deepu
0 Kudos
Message 1 of 5
(3,196 Views)
Have a look at this little utility:  http://www.nirsoft.net/utils/nircmd.html

I've not used it before.  But it looks like it might be perfect for what you need.


Good luck!
---------------------
Patrick Allen: FunctionalityUnlimited.ca
Message 2 of 5
(3,186 Views)

Thanks man,

Looks like it is going to work!

Thanks a lot...

0 Kudos
Message 3 of 5
(3,169 Views)
As another option, you can try looking for a library called LVWUtil32. It includes a VI called Quit Application, which sends a quit message to whatever window you choose.

___________________
Try to take over the world!
Message 4 of 5
(3,164 Views)
Hi tst,
 
Thanks for the alternate solution.
That was even better. I can chose the window that I want to close.
 
Thanks!
 
Deepu
 
0 Kudos
Message 5 of 5
(3,147 Views)