Thanks Larry, it is just what I was looking for.
Glenn
>>Does anyone have any code to test whether a known PID is still running?
>>
>>Thanks
>>
>
>Glenn,
>See Message#
496824 for a code example. You can use the OpenProcess WinAPI function. The function will return a 0 if the function fails (e.g. if the process doesn't exist anymore).
>
>HTH.