Hi all,
Is there any way to lock the workstation through code?
Thanks for your help!!!!!!
Printable View
Hi all,
Is there any way to lock the workstation through code?
Thanks for your help!!!!!!
Use the LockWorkstation API.
VB Code:
Private Declare Function LockWorkStation Lib "user32.dll" () As Long
Note that the LockWorkstation API requires Windows 2000 or later; Win9x/ME are not supported
Great help!!!!!!!!!!!!!!!
Thanks a lot!!!