Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Project at server
Message
De
25/04/2004 08:58:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
25/04/2004 07:35:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00897979
Message ID:
00897981
Vues:
20
>hi all,
>
>how i can put my project at company server '
>If I have more 10 users at 10 pcs,how I can let all of them works at the same time.

The users will not use the "project" as such, but the executable. That way, you only need one license of VFP for each programmer, but not for the users of your program.

This is the easiest way: Create an executable, and copy it to a shared folder on your server. For example, I use a folder like \\MyServer\MyProject for the executable; data is stored in \\MyServer\MyProject\Data.

You will have to investigate about programming for multi-user. For a start, give the command SET EXCLUSIVE OFF at the beginning of your program.

You can have problems if two users access the same table at the same time. You can use record and file locking (rlock() and flock()), but in most cases, it is better to use buffering instead. You can read my introductory article on buffering at http://www.utmag.com/July2002/Page6.asp.

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform