Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Detect If Users Quit Windows

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I'm writing a program to control users access to Internet. Access time will be recorded as users sign in. However, some ignorant users may shut down windows before signing out. I wonder if there is a way to detect if a user does so so that sign out is done automatically.
Thanks
 
SanYeo,

What you are trying to accomplish should be fairly easy. However, I'll need some details in order to help out.

I'm assuming that you are going to write the program in VBA, since you've posed the question here. My concern is that VBA must be hosted by an application and can not be a stand alone executeable. So, I'm wondering, what is the host application (i.e. Word, Access, PowerPoint, Excel) for which you are writing this program? Also, are you writing a server/client program? It would of course be much easier, you have a main program running in the background some where checking user access.

Let me know, and I'll keep checking the thread. Have a good day.

Bernie
 
Sorry to tell you I've posted my q to the wrong forum
Anyway, my problem has been solved

Thanks Bernie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top