Greetings fellow programmers !
My users can log off my system with the cross in the taskbar in Win7.
Though i have disabled all uses of crosses by module.
This is annoying because i have build a system that keeps track howmany users are logged in, and who.
If they (right)click the icon in the taskbar they get the option to "close the window" and thus the user isnt logged out.
I tried to execute the code (logging off the client) by the OnClose event of the form, but that gives me an error.
It seems that if you close MS-access this way, the form closes and thus i cannot pass the value to the table wich client to log out.
Any ideas ?