- Local time
- Tomorrow, 02:08
- Nov 22, 2019
akbarmahfuzalam, are you saying the code doesn't work or that you need help adapting it to your needs?Hi Guys,
Can someone help me with code that need to go behind the Disconnect User and Send Message Button.
I tried to find but failed. Help is highly appreciated !
I agree with you isladogs but the requirement over here is different. When someone locked the workstation and went home accidentally . And in that case we want them forcefully logoff by selecting the user name.hi
The sample database can be found here Check logged in users
It was an updated version of a database originally written by David Crake and the two buttons were features he never got around to implementing.
In my example, the buttons were disabled.
See post #4 in that thread for further info together with a link to a SendMessage feature you could add yourself.
As I wrote in that thread, it isn't obvious to me why anyone would want to eject a specific user from a database or how to achieve that.
As I can't see a reason for doing it, I've not tried to implement the feature
Win 10In the past I have had trouble with sleep mode, perhaps because for a while that was a bit "buggy." This wasn't on Win 10, might not have been Win 7 either. That's why I said what I did. And I didn't notice version numbers so don't know what configuration the OP is using.
Start by looking at the thread linked in post #11.What would be the code in that case which I can use behind Disconnect user.