>>>I've created a .exe
>>>
>>> When I click at the upper-right side X at the corner
>>> I appears the message:
>>>
>>> Cannot quit visual foxpro
>>>
>>> What do I have to do ?
>>
>>
>>You could get that message if you have open connections, open references to objects, etc.
>>
>>Make sure you clean up (do garbage collection) by setting object references to NULL or use RELEASE. Also look at the following commands:
>>CLEAR ALL
>>RELEASE ALL
>>CLOSE ALL
>>ON SHUTDOWN
>
>Additionally, make sure that if you use any arrays that you clear their contents
>as well as the arrays themselves.
Why? What good would that do? CLEAR ALL will certainly zap the contents of an array just fine.