Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Who is using an APP
Message
From
10/05/2004 21:32:33
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00902407
Message ID:
00902658
Views:
10
Mike - I have my app and all data files on the network. I have a small exe on each workstion with the following code which is executed if I logged in sucessfully :
set default to networkfolder
EXECSCRIPT(Filetostr("network.ini"))
In the network.ini file in the data directory I have the following code:
do appname.app.
When I need to make a change to the app, I rename the new app as appname1.app
and copy it out to networkfolder. I then change the network.ini file to
 do appname1.app.
The next time the user logs in they will be using the new program. I have about 25 users and this has eliminated the need for people get out of the program so you can update it.

If you move your data and application to a different network location you can also add code to change the default in the network.ini file to the new path and folder assuming the old location is still available to hold your ini file.

This is rather simple but it has worked very sucessfully for me.

Gaylen


>Periodically we need to update an APP on the server, but is in use by one or two people only.
>Is there anyway to tell who is using an APP on the server?
Previous
Reply
Map
View

Click here to load this message in the networking platform