>We distribute custom reports for our application in a Custom.app file. The main app contains a menu option that performs a DO CUSTOM.APP if the app is available. The app will contain a form that can generate one or more reports customized to the client's specs. Occasionally, I have to copy a new Custom.app out to client using Terminal Server. If any one of the users has run Custom.app, the file remains locked, even though they have closed the custom form. Is there a way to get around this? I'd like to be able to copy the new app to them without having all of their users exit the main program. I thought about trying CLEAR PROGRAM, but I'm not sure how that would affect the main app. Any suggestions would be appreciated.Is custom.app run from the server? I assume so as you say it is locked. If it was run from their terminals, as you'd normally do with an EXE then you could use a loader. IOW when they run custom.app the program could check to see if there is a new version in the server. That one is copied to the local workstation and then run locally. The server copy is never used and never locked. Otherwise you won't be able to overwrite custom.app if somebody is using it.
HTH