Hi, I need to calculate the total time a user is connected in my program?? How can I do this?? Since the user logon.
Thanks a lot :D
Printable View
Hi, I need to calculate the total time a user is connected in my program?? How can I do this?? Since the user logon.
Thanks a lot :D
Using an array (if you have tons of users you want to track) and the gettickcount() command (search vbforums for it if you need more help) should be enough...use 2 variables, one for start and one for finish, and the difference is in milliseconds (1000 = 1 second)Quote:
Originally Posted by heatcat