04-22-2006 03:29 AM
04-22-2006 04:44 AM
Hi,
you can use the systemexec.vi to start / shutdown processes.
The syntax to kill a process is the following: TASKKILL /F /IM mspaint.exe /IM notepad.exe
Regards,
ThSa
04-22-2006 07:17 AM
Thanks. I have tried your command but it doesn't work like I want. It doesn' close paint application.
Here the vi I wrote.
04-24-2006 12:41 AM - edited 04-24-2006 12:41 AM
Message Edited by ThSa on 04-24-2006 07:42 AM
04-24-2006 04:07 AM
Hi,
I used your code but it didn't work as a closing of application:
1) In fact a little dark screen is blinking, with c\windows32\system\command.com noted. The process didn't close paint application
2) Is your code inlude opening of paint (or word) ? For this Do I have to use another system.exe vi with path to paint?
3) I use a windows xp pro computer. In the the context help, it says me that I have to use command.com, so I used it. Unless using it error message appeared "memory is full".
They say also that:
"To launch an executable with options using the syntax filename.exe -option1 -option2, create a filename.bat file that calls the executable with the options syntax and use this VI to call the filename.bat file. "
But I don't know How do and if it is needing as you succeed unless it.
04-24-2006 04:26 AM - edited 04-24-2006 04:26 AM
Message Edited by ThSa on 04-24-2006 11:27 AM
04-24-2006 06:35 AM
04-24-2006 07:00 AM
04-24-2006 07:08 AM
04-24-2006 07:24 AM