Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Release a .APP that has been run from the IDE?
Message
From
14/10/2011 16:30:24
 
 
To
14/10/2011 10:56:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01526439
Message ID:
01526477
Views:
69
>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?

clear classlibs and unload procs set into the app ?
Previous
Reply
Map
View

Click here to load this message in the networking platform