PDA

View Full Version : Sensing when a launched application is closed


creativeny
06-15-2004, 07:55 PM
Hiya,

Is there any way in MS 5.0 to sense when an application that was launched has been terminated? This all stems form a VERY large PPoint file that can take close to two minutes to load on slower machines. I want to create a "Please standby" screen to display while the presentation loads to keep users from clicking around while waiting. And would like to automatically jump back to the "home" page when the PPoint is terminated.

Or is there another way to get through that slow PPoint load??

Thanks

itamar
06-16-2004, 01:37 AM
you can use Window.EnumerateProcesses it's Returns a table containing a list of all the currently running processes and their associated window handles.

check out AMS help look for Window.EnumerateProcesses
maybe you can run a loop that check every few seconds if your application is still running.

Itamar.

yosik
06-16-2004, 07:29 AM
Put the loop into an "OnTimer" action.
Yossi