alisaif said:
I could not understand how to create loader file.
If you go to the link which you have been given twice above, you will find information about the "Loader" program.
An Application starter (with auto copy from server into local station).
faq184-4492
Yes, that program may need to be modified to meet your exact situation, but it will give you basically what you need.
You then compile that "Loader" into its own EXE file.
Now your users desktop shortcuts will need to 'point' to the Loader executable.
When they launch the Loader it will compare the Modified Date/Time of the
local copy (on the separate user's workstation) of your primary VFP application EXE's with the Modified Date/Time of the
server copy (on the central server).
NOTE - some of the modification you might need to make to the Loader involves its 'knowing' where to find the local copy and the server copy of the application.
If these Date/Time's do match, then the local copy is launched 'as is"
If these Date/Time's do Not match, the server copy is copied onto the user's workstation and then launched from there.
Since the users are running their own local copies of your primary application and not the central one, you can modify the Server copy whenever needed.
And the Loader ensures that the user's will always get the latest version when they launch the application from their desktop shortcut.
Good Luck,
JRB-Bldr