Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to release .app files
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01470863
Message ID:
01470875
Views:
73
You should use an application launcher. There are a few of them in the Download area.

>I have isolated some class definitions into .app files to allow me to isolate code functionality to a library. When I instantiate an object using code like the following:
>
> oBPAPay = NEWOBJECT("BPAPayPayware","BPAPayPayware.app")
>
>
>the .app file becomes locked. Even after I release the oBPAPay object I still can't delete or overwrite the file. Since this is a multiuser application, and the.app files are stored on the network, I have to close the software on all stations before I can update the .app files.
>
>Is there any way around this? I have set the object to null both before and after release, and I have tried clearing SET PROCEDURE, SET CLASSLIB, and SET LIBRARY. If I do CLEAR ALL it release the .app file, but I can't really do that in the middle of my program! How can I get my VFP program to let go of the .app file?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform