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:
01472649
Views:
56
>>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?
>
>Did you try RELEASE PROGRAM myAppName ?
>
>Check all variations of RELEASE command in Help.

I've tried every RELEASE I could find. I've tried CLOSE LIBRARY. I've looked through all the SYS() options. I haven't found anything. I would really like to be able to push out updates to my .app files without making customers exit the main .EXE program on all stations.
Paul R. Moon
Business Software Solutions
paul@businessoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform