Fernando,
Check out FAQ #7789.
Ed Rauh's Api_apprun is a very handy class that allows you to launch another app without the RUN command or ShellExecute. It has several options. It has a method that allows you to check if the process is still running and if necessary, you can kill the process. There are also options that allow you to define how the application appears (Normal, Maximized, Minimized or Hidden).
HTH
>Hi,
>
>I have a program that fires other programs using ShellExecute. Next I would like to cycle (thru a timer routine) and check if the fired programs are still executing. How could that be possible?
>
>Thanks!
>
>Fernando
Daniel