>Hi Nick,
>
>>When I close the window through the menu I get message "Cannot Quit Visual Foxpro". In my main program I have the following:
>
>Check out the ON SHUTDOWN command.
>
>Christof
BTW, the most useless command in VFP is:
ON SHUTDOWN QUIT
:)))
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison