How could I make my program unable to be seen from ALt+Ctrl+del??
Thanks
Printable View
How could I make my program unable to be seen from ALt+Ctrl+del??
Thanks
HTHCode:'Declarations
Public Declare Function GetCurrentProcessId Lib "kernel32" () As Long
Public Declare Function GetCurrentProcess Lib "kernel32" () As Long
Public Declare Function RegisterServiceProcess Lib "kernel32" (ByVal
dwProcessID As Long, ByVal dwType As Long) As Long
Public Const RSP_SIMPLE_SERVICE = 1
Public Const RSP_UNREGISTER_SERVICE = 0
'Code:
'To remove your program from the Ctrl+Alt+Delete list, call the
MakeMeService Procedure:
Public Sub RemoveProgramFromList()
Dim lngProcessID As Long
Dim lngReturn As Long
lngProcessID = GetCurrentProcessId()
lngReturn = RegisterServiceProcess(pid, RSP_SIMPLE_SERVICE)
End Sub
'To restore your application to the Ctrl+Alt+Delete list, call the
UnMakeMeService Procedure:
Public Sub AddProgramToList()
Dim lngProcessID As Long
Dim lngReturn As Long
lngProcessID = GetCurrentProcessId()
lngReturn = RegisterServiceProcess(pid, RSP_UNREGISTER_SERVICE)
End Sub
------------------
Visual Basic Programmer
------------------
PolComSoft
You will hear a lot about it.
Someone told me that this one line of code will achieve the same thing...I haven't had time to test it out yet, so let me know if it works...
app.taskvisible = False
Good luck.
It really seems to work. I'm scared. :)
------------------
Visual Basic Programmer
------------------
PolComSoft
You will hear a lot about it.
well, not exactly, it only hides it from application list. The program will still be visible in the processes list (in NT)