Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi user question
Message
De
04/12/2002 18:54:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00729614
Message ID:
00729682
Vues:
14
>I have just finished writing my first multi-user app. I'm unsure how to handle the location of the files. Obviously, I want the dbf files on the server. Should each workstation run it's own copy of the exe? Where should the path statement be placed?
>Obviously, I don't do this for a living. Thanks for any advice.

Personally, I have the data-files on a shared folder on the server (obviously).

As for the EXE, I decided to have that on the server too. The program is called something like MyApp0001.exe. Next time I compile a version, I copy it as MyApp0002.exe. A small loader program (also on the shared folder) determines the latest version and loads it. The users have a shortcut to the loader program. Advantages: 1) I can upgrade the EXE while the users use it. 2) A variation of the loader program allows the user to go back to a previous version - in case the latest version has some serious flaw (in the meantime, of course, the user has to alert me, and I have to fix the flaw).

A variation of the scheme is to copy the EXE to each local workstation - the loader program simply compares if the local version is the last one. Else, the latest version is copied to the local disk. There is at least one loader program like this in the download section.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform