by R.Shrivaths (3 Submissions)
Category: Encryption
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Mon 3rd September 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
This snippets lets you lock the desktop from access in just under 15 lines!
API Declarations
Private Declare Function EnableWindow Lib "user32" (ByVal hwnd As Long, ByVal fEnable As Long) As Long
Dim HDesk As Long
HDesk = FindWindow("Progman", vbNullString)
If HDesk <> 0 Then
EnableWindow HDesk, En
End If
End Function
No comments have been posted about This snippets lets you lock the desktop from access in just under 15 lines!. Why not be the first to post a comment about This snippets lets you lock the desktop from access in just under 15 lines!.