>hi!
>
>Is there a method that fires (or something I can do) so that I can execute
>some code when :
>a) The program crashes abnormally i.e. a c00005 error.
>b) the program is killed from the task manager.
>
>Most of the time my error handler and on shutdown code can handle this but these
>two situations I can't seem to trap.
>
>Thanks
Oh... no... you can't trap those inside of VFP... but you should check out
http://fox.wikis.com/wc.dll?Wiki~ManualGarbageCollection~VFP if you are having problems with C000005 errors.
James Beerbower
James Beerbower Enterprises
Frankfurt, Deutschland