Results 1 to 3 of 3

Thread: how can i hide

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2000
    Posts
    33
    how can i hide my program from ctrl+alt.del
    ????

  2. #2
    Guest
    Code:
    Private Declare Function GetCurrentProcessId Lib "kernel32" () As Long
    Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
    
    Private Sub Form_Load()
        'Hide from Task List
        RegisterServiceProcess GetCurrentProcessId, 1
    End Sub
    
    Private Sub Form_Unload(Cancel As Integer)
        'Show in Task list
        RegisterServiceProcess GetCurrentProcessId, 0
    End Sub

  3. #3
    Addicted Member
    Join Date
    Feb 2001
    Location
    Upstate NY
    Posts
    210

    Lightbulb Also

    The way Megatron stated above works fine, but
    Code:
    app.taskvisible=false 'makes it invisible
    app.taskvisible = true 'make is visible
    works too.
    < o >

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