Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot Quit Visual Fox Pro
Message
From
14/12/1999 22:23:57
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00303680
Message ID:
00303857
Views:
13
>>Good afternoon all!
>>
>>I have a problem that I'm hoping someone will be able to clear up. I've created an executable that I'm not able to exit. I just get a dialogue box with the message "Cannot Quit Visual Fox Pro" with an o.k. button. The only way out is to End Task.
>
>ON SHUTDOWN DO shtdwn IN MAIN
>
>FUNCTION shtdwn
>ON ERROR && reset error trapping
>ON SHUTDOWN && reset shutdown trapping
>SET CLASSLIB TO && release all class libraries
>SET PATH TO && reset the search path
>CLEAR ALL && release all variables, tables, etc.
>CLOSE ALL && close all tables, forms, databases, etc.
>QUIT
>
>
>HTH

You still need a CLEAR EVENTS. The "Cannot Quit" message comes from issuing quit or clicking the "x" while in an event loop. IMHO, most of the commands above are not necessary because quitting the app takes care of them automatically.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform