borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Need help with API for CreateProcess(A))Next Topic (API Reference help documnets  for microsoft.office.interop) New Topic New Poll Post Reply
AndreaVB Forum : API : disable CRTL ALT Delete
Poster Message
eryq
Level: Trainee

Registered: 20-04-2005
Posts: 3

icon disable CRTL ALT Delete

Greetings!!!

How can i disable crtl  alt del in windows xp. I try the sample in API section of this Site but it seems it will not run on XP? Below is the code I'd use...  

' form is set to maximize on load

Private Sub Form_Load()

      DisableCtrlAltDelete True
            
End Sub


Private Declare Function SystemParametersInfo Lib "user32.dll" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long

Sub DisableCtrlAltDelete(bDisabled As Boolean)
    Dim x As Long

    x = SystemParametersInfo(97, bDisabled, CStr(1), 0)
    
End Sub


And also how can i disable ALT TAB. Thanks in advance guys...

____________________________
Eryq B.

03-05-2005 at 05:15 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : API : disable CRTL ALT Delete
Previous Topic (Need help with API for CreateProcess(A))Next Topic (API Reference help documnets  for microsoft.office.interop) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder