How to close a program previously opened with the comand "shell"

  • Thread starter Thread starter sbtk
  • Start date Start date
S

sbtk

Hello to all.

Is possible to close a program previously opened with the comand "shell" ?

Example of my code (access 2003):


Private Sub Prog_Click()
Shell ("C:\WINDOWS\system32\calc.exe")
...
...
_ _ _ _ _ _ 'command or routine to close calc.exe
End Sub



Thanks for your help !
 
Thanks a lot.



I tought to find something a little bit simple. I say that because my
knowledge about "access" and "code" is elementary.



Anyway I will try to apply yours suggestion, but for me is very difficult.

I will inform later ...



Bye!
 
Thanks a lot.

I tought to find something a little bit simple. I say that because my
knowledge about "access" and "code" is elementary.

Anyway I will try to apply yours suggestion, but for me is very difficult.

I will inform later ...

Bye!
 
Thanks a lot.

I tought to find something a little bit simple. I say that because my
knowledge about "access" and "code" is elementary.

Anyway I will try to apply yours suggestion, but for me is very difficult.

I will inform later ...

Bye!
 
Back
Top