Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ON SHUTDOWN
Message
 
To
16/06/1997 19:10:17
Lawrence A. Jardine
Data Management Solutions
St. John's, Antigua
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00036589
Message ID:
00036722
Views:
34
>When I use 'ON SHUTDOWN DO CloseProg' (where 'CloseProg' is a procedure in the main
>program) in an .EXE - VFP5.0, my error handler returns 'closeprog.prg cannot be found'. It
>appears as though the ON SHUTDOWN command destroys the environment and memory
>variables before executing the DO CloseProg. The problem does not exist in the interactive mode.
>Why?

Hi Lawrence,
The easiest solution is:
ON SHUTDOWN do MyProcedure IN MyProgram
Glenn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform