J
Janis
Hi all:
i use the VBA to open one exe file with "Shell", and the
file is always into the system tray, now how to close this
file by VBA, as i know when this file was opened then win-
2k should provide the PID for this file, but i don't know
how to manage....
Private Declare Function TerminateProcess Lib "kernel32" _
(ByVal hProcess As Long, ByVal uExitCode As Long) As Long
i use the VBA to open one exe file with "Shell", and the
file is always into the system tray, now how to close this
file by VBA, as i know when this file was opened then win-
2k should provide the PID for this file, but i don't know
how to manage....
Private Declare Function TerminateProcess Lib "kernel32" _
(ByVal hProcess As Long, ByVal uExitCode As Long) As Long