Does anyone know a good way to do something when the application has been told to exit. I have looked throught he msdn documents at the ApplicaitonExit Event but am unable (for some reason) to have it do the action (in this case display a message box).

Jeremy