I am using the Shell() function to execute an external application in MS Access. Shell() returns a task ID of the specific process that was started.
I need a way to check if that process is still running or if it has closed. I’m sure that I will need to do some sort of windows API call but I can’t seem to find anything just now.
This is an Access FAQ, and it was answered years and years ago on the FAQ site for comp.databases.ms-access, http://mvps.org/access/.
API: Shell and Wait