Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make my application aware of other users
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00619231
Message ID:
00619675
Vues:
16
>I would like to know if there is a way to make my application aware of other users on the LAN who are presently logged into the same application. I could create a table, append a record with a user's name when he logs on, and then the other users could query the table to find out who is presently logged on.
>
>I would also like to initiate some action on the other users' machines when a certain condition occurs.
>
>Is there a way to do this directly or through COM/DCOM?
>
>Thanks.
>Jay

Jay,
This is a simple approach -

In your security table add a logical field curron
When a user logins in on your security screen update date and time lastin and set flag true for curron.

On APP Exit (on shutdown) set the date and time lastout for the user and set flag false for curron.

Other users could see # of users where curron, or query for list current users.

Ed B
Edgar L. Bolton, B.S. B.B.A.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform