Author: Lou Syracuse
Posted: 2011-10-14 at 11:04:18
Maybe you have a variable or object reference that isn't being released?
If you open the debugger window after running the app is there anything under locals?
As a total WAG, try this:
Close all
Clear all
Clear memory
Release all
Release all extended
And see if any of those commands help.
Lou
-----Original Message-----
From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com] On Behalf Of Matt Slay
Sent: Friday, October 14, 2011 7:57 AM
To: profoxtech@leafe.com
Subject: How to RELEASE a .app file from FoxPro IDE?
In the FoxPro IDE, I have a tool that is a .APP file. Whenever I have run
the tool once in a session, and then exit the App (but I remain in the
FoxPro IDE), then FoxPro still seems to have the .app file opened, or
locked, or something.
The result of this is, for instance, I cannot "DELETE FILE MyTool.app" from
the command window, nor can I rename or delete the .app file from a Windows
Explorer window. In both cases, I get an access denied error. Again, this
true even after I exit the .APP (but, again, I still remain the FoxPro IDE).
Don't ask why I want to delete it, just believe me that I need to.
This proves that FoxPro still has a lock on the file, even after quiting the
.app. The only way I have have to free it is to exit FoxPro. Only then can I
delete the .app file.
So, how can I tell the FoxPro IDE to "Release" this file?
I tried RELEASE ALL, but that does not worlk.
Any ideas?
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/0BAC2C1927422843B2C121C8B41684AF0C66304B@DFW1MBX24.mex07a.mlsrvr.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.