Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many connections
Message
De
02/10/2002 02:22:57
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
 
À
01/10/2002 19:01:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00706500
Message ID:
00706718
Vues:
18
>>>That won't work if the user hit the off button on the computer without quitting Windows.
>>>
>>True. I have that when the user clicks the close box x on teh form. Thanks.
>
>Each station can create and keep open exclusively a file with a name such as SYS(3)+'.usr'.
>
>When a new station comes on it tries to delete all such files, then counts how many are left. If user is still connected the delete will not erase the file, but if accidentally terminated, his file will be deleted. This way you can get a reliable count of users if you use a unique extension.

Thanks Alejandra.
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform