| Re: Killing a APP -
06-04-2007, 09:49 AM
This should do it:
AppActivate "program", True
SendKeys "%{F4}", True
'program' should be the text written in the application titlebar.
If you started the program yourself from VB you can use the id shell
returned, like in:
dim id as long
id = Shell ("calc.exe")
appactivate id,True
sendkeys "%{F4}",True
Good luck with it.
Arjen
"Frank R. Jr." <EMAIL REMOVED> schreef in bericht
news:j5yYc.208406$Oi.98602@fed1read04...
> How Can u Kill a application all ready running with a program made by vb
>
> --
> Frank R. Jr.
>
> |