![]() |
Please consider donating $1 per sample downloaded, (find out why here) |
ActiveUsers.mdb |
Post Reply ![]() |
Author | |
Michael Forbes ![]() Contributor ![]() Joined: 24 Jun 2008 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 10 Jul 2008 at 5:34am |
This applet demonstrates how to track the users that are currently in a database. Instead of using the .ldb file, which only names the machines that are logged in, it inserts the windows login of each user along with a date/timestamp of their login, into a table. Upon the closing of a hidden form (i.e., when the app exits), it then deletes that record. This way only those who are actively logged in, or who didn't exit cleanly their last time in, are listed in the table. Uses one Win32 API call
|
|
--
Email: cognos.pax@gmail.com No additional terms/restrictions. Distribute freely, copy freely, no need for credit. |
|
![]() |
|
Sponsored Links | |
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |