Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make my application aware of other users
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00619231
Message ID:
00619675
Views:
15
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform