>Hi,
> I have a VFP 5.0a application which is stored in the Windows NT/95/98 system taskbar. When I try to restart windows, the application successfully terminates, but it stops the windows shutdown process. In the application, I have the following command:
>
>ON SHUTDOWN CLEAR EVENTS
>
>which falls through and runs a cleanup routine which has CLEAR ALL and CLOSE ALL.
>
>Does anyone know why this is happening?
>
>Thanks.
Not completely sure here, but try a little variation on this:
ON SHUTDOWN DO Prg_Quit
then put your CLEAR EVENTS and CLEAR ALL and CLOSE ALL into PROCEDURE Prg_Quit (or whatever you call it). That's what we do, and it works like a charm. Kind of like an "ON ERROR DO xxx" would be...
HTH
Rob
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only