ddimatteo
12-02-2005, 10:17 AM
Is there a way to kill an aplication launched
with the Exec Method.
Something like
Dim WshShell, oprog
Set WshShell = CreateObject("WScript.Shell")
Set oprog = WshShell.Exec("C:\Archivos de programa\Internet Explorer\iexplore.exe c:\a\vbs\seguridad\aa.mht")
WshShell.AppActivate oprog.ProcessID
and after some other things I want to
kill (close) that prog
Can it be done ???
Thanks
Dima
with the Exec Method.
Something like
Dim WshShell, oprog
Set WshShell = CreateObject("WScript.Shell")
Set oprog = WshShell.Exec("C:\Archivos de programa\Internet Explorer\iexplore.exe c:\a\vbs\seguridad\aa.mht")
WshShell.AppActivate oprog.ProcessID
and after some other things I want to
kill (close) that prog
Can it be done ???
Thanks
Dima