Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot quit visual foxpro
Message
From
05/07/2001 16:42:19
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00526105
Message ID:
00527190
Views:
21
>>>>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.

I've had a couple of occurances of arrays which were properties of forms which would not clear out by only using a clear all statement. I needed to manually
clear them out and then release or clear the form.
Wine is sunlight, held together by water - Galileo Galilei
Un jour sans vin est comme un jour sans soleil - Louis Pasteur
Water separates the people of the world; wine unites them - anonymous
Wine is the most civilized thing in the world - Ernest Hemingway
Wine makes daily living easier, less hurried, with fewer tensions and more tolerance - Benjamin Franklin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform