>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
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown