VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Ctrl+Alt+Del & Alt+Tab Method (Enable/Disable)

iNfO  (3 Submissions)   Miscellaneous   Visual Basic 3.0   Beginner   Wed 3rd February 2021

This coding will let you ENABLE and DISABLE the Ctrl + Alt + Del Method and also the Alt + Tab Method. Have Fun. Please Vote for Me.

API Declarations
'- Made By: iNfO
'- About: These 2 functions let you enable and
'- disable the Ctrl+ Alt + Del Method and the
'- Alt + Tab Method
Public Declare Function SystemParametersInfo2 Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long
Public Const SPI_SCREENSAVERRUNNING = 97
Public Sub CtrlAltDel_Disable()
'in a button or anywhere,
'put this: ctrlaltdel_disable
Dim syssend As Long
syssend& = SystemParametersInfo2(SPI_SCREENSAVERRUNNING, True, False, 0)
End Sub
Public Sub CtrlAltDel_Enable()
'in a button or anywhere,
'put this: ctrlaltdel_enable
Dim syssend As Long
syssend& = SystemParametersInfo2(SPI_SCREENSAVERRUNNING, False, True, 0)
End Sub

Rate Ctrl+Alt+Del & Alt+Tab Method (Enable/Disable) (6(6 Vote))
Ctrl+Alt+Del & Alt+Tab Method (Enable/Disable).bas

Ctrl+Alt+Del & Alt+Tab Method (Enable/Disable) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters