Patrick - There is a TApplication.HandleException method that may do the
trick - havn't tried myself.
>Can someone please tell me how you are supposed to catch an exception that
>can occur at any time - normally you will place certain statements inside a
>try...except loop in case one of them causes an exception. But this
>exception is caused by the dumb user not by your code! I think that instead
>they should have used an event that fires when the error condition is
>detected. Admittedly this is also true of a number of other exceptions like
>entering the wrong data format in a database field or trying to edit a
>locked record. Which leads me to think you are not supposed to catch this
>exception...it is meant to put up a message to warn the user.
>
>============================================
>Patrick Dunford, ChristChurch, NZ
>http://patrick.dunford.com/
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz