|
-
Jan 28th, 2000, 01:05 AM
#1
Thread Starter
Addicted Member
How could I make my program unable to be seen from ALt+Ctrl+del??
Thanks
-
Jan 28th, 2000, 01:17 AM
#2
Fanatic Member
Code:
'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
HTH
------------------
Visual Basic Programmer
------------------
PolComSoft
You will hear a lot about it.
-
Jan 28th, 2000, 09:17 AM
#3
Frenzied Member
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.
-
Jan 28th, 2000, 09:55 AM
#4
Fanatic Member
It really seems to work. I'm scared. 
------------------
Visual Basic Programmer
------------------
PolComSoft
You will hear a lot about it.
-
May 18th, 2000, 09:30 PM
#5
New Member
well, not exactly, it only hides it from application list. The program will still be visible in the processes list (in NT)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|