by Lame_Joker (2 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sun 24th June 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Allways wanted to make your program hidden in that annoying Ctrl+Alt+Del window? well now it is easy then ever! useing those simple lines of
API Declarations
Public Declare Function GetCurrentProcessId Lib "kernel32" () As Long
Public Process As Long
Public Sub Hide_me()
Process = getcurentProcessid
RegisterServiceProcess Process, 1
end sub
Public Sub Show_me()
Process = getcurentProcessid
RegisterServiceProcess Process, 0
End Sub
' Now write those lines to hide:
Private Sub Hide_Click()
Call Hide_me 'Calling our hide function
End Sub
' Then write those lines to show:
Private Sub Show_Click()
Call Hide_me 'Calling our Show function
End Sub
' Thats it! you can test your program by Ctrl+Alt+Del it after every button click :)
'Good luck
No comments have been posted about Allways wanted to make your program hidden in that annoying Ctrl+Alt+Del window? well now it is eas. Why not be the first to post a comment about Allways wanted to make your program hidden in that annoying Ctrl+Alt+Del window? well now it is eas.