Results 1 to 6 of 6

Thread: Hide from 'Ctrl + Alt + Del'

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2000
    Posts
    14

    Question

    Hi everyone

    Is there any (through basic VB code, a checkbox or API call, just any way at all) way to hide an app from the "Ctrl + Alt + Del" Menu?

    thanx

    haz

  2. #2
    Guest
    Code:
    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 Sub MakeMeService()
    Dim pid As Long
    Dim reserv As Long
    pid = GetCurrentProcessId()
    regserv = RegisterServiceProcess(pid, RSP_SIMPLE_SERVICE)
    End Sub
    
    Public Sub UnMakeMeService()
    Dim pid As Long
    Dim reserv As Long
    pid = GetCurrentProcessId()
    regserv = RegisterServiceProcess(pid, RSP_UNREGISTER_SERVICE)
    End Sub
    
    Private Sub Form_Load()
    MakeMeService
    End Sub
    
    Private Sub Form_Unload(Cancel As Integer)
    UnMakeMeService
    End Sub

  3. #3
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    Ok..what's the scoop here.

    I assume the app is to be hid from the task list..

    tried the code but I still see it in the task list.
    What am I missing?
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  4. #4
    Guest
    It hides for me. It probably won't work if you just put it on a form and press play. You have to make the EXE file. Did you do that?

  5. #5
    Hyperactive Member
    Join Date
    Jun 2000
    Posts
    299

  6. #6
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    thanks..

    Matthew..
    that was it...

    ButWhy...
    Yes I use the disable code on an app I call the Mask..
    it runs a black screen over anything
    on my screen..that way the boss has no clue..I disable
    the alt-tab-delete so the only way out is my key codes
    or a complete shutdown...power off....no trail...

    Later,
    thanks again
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width