PDA

View Full Version : Solved: Warn prior to quitting outlook



mdmackillop
02-04-2011, 05:04 AM
Outlook is used by another application but sometimes get closed by mistake. Is it possible to intercept the Quit action of Outlook to give a warning and chance to cancel?

JP2112
02-04-2011, 08:06 AM
I'm afraid not. The Application_Quit Event has no parameters that would allow you to cancel it.

And besides, by the time the Quit Event fires, all objects have been released and there's nothing you can do anyway. I don't even understand why the event exists at all.

mdmackillop
02-04-2011, 08:27 AM
That's what I thought.
Thanks for the confirmation.
Regards
Malcolm