VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This snippets lets you lock the desktop from access in just under 15 lines!

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


Rate This snippets lets you lock the desktop from access in just under 15 lines!



Dim HDesk As Long
 HDesk = FindWindow("Progman", vbNullString)
  If HDesk <> 0 Then
   EnableWindow HDesk, En
   End If
   
End Function


Download this snippet    Add to My Saved Code

This snippets lets you lock the desktop from access in just under 15 lines! Comments

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!.

Post your comment

Subject:
Message:
0/1000 characters