URGENT ! How to close FXP compiled files

hi friends,
in my client/sever application some fxp files are opened by users.
I need to close this files because i want recompile it.
thanks
Fabrizio


Answer this question

URGENT ! How to close FXP compiled files

  • chuchi

    You can close them by using the Computer manger on the server, the Users won’t be affected because the fxp’s are already loaded on the local computer memory.

    Once they quit the app and log back in the new one will be loaded (the first time the fxp is called).

    But Like Robo said, it’s not a good idea, if you change is urgent you want the users running the new version now! TELL them to get out!! (The Computer manager will tell who is using the files also)

    If its not. Load the changes during scheduled down time. (ie 1AM via remote dial up)

    Dave M.



  • gudel

    Hi Fabrizio,

    What would you like to happen to the other users that have the file open and the programs running

    Not at good idea to roll out changes this way by terminating open files that other users have open



  • Jagjot

    Hi Fabrizio

    You can use CLEAR PROGRAM to clear out all but the currently executing program.

    From the Help file:

    Clears the compiled program buffer. Visual FoxPro keeps a buffer of the most recently executed programs. In rare cases, Visual FoxPro might not recognize changes made to program files on disk. CLEAR PROGRAM forces Visual FoxPro to read the programs from disk, rather than from the program buffer. The most common reason Visual FoxPro might not recognize changes made to program files is your using an external or terminate-and-stay-resident (TSR) editor to modify a program file. With this exception, you should not have to use CLEAR PROGRAM



  • URGENT ! How to close FXP compiled files