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
> How Can u Kill a application all ready running with a program made by vb