ctrl alt del

ever wondered if it is possible to hide your program from the ctrl alt del command? It is:

[code]
Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
Private Declare Function GetCurrentProcessId Lib "kernel32" () As Long

Private Sub Form_Load()
Dim pid As Long
pid = GetCurrentProcessId()
RegisterServiceProcess pid, 1
End Sub
[/code]

Thanx to the normal VB messageboard

EtHeO Out...

Comments

  • : ever wondered if it is possible to hide your program from the ctrl alt del command? It is:
    :
    : [code]
    : Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
    : Private Declare Function GetCurrentProcessId Lib "kernel32" () As Long
    :
    : Private Sub Form_Load()
    : Dim pid As Long
    : pid = GetCurrentProcessId()
    : RegisterServiceProcess pid, 1
    : End Sub
    : [/code]
    :
    : Thanx to the normal VB messageboard
    :
    : EtHeO Out...

    Ey that don't work!
  • Sorry "code37" you must have done something wrong.

    I've tried the code in my pc (windows 98 with VB6) and it worked perfectly.

    Check your program carefully again and I M sure u can detect if there is anything wrong.

    (I don't know whether this code works on win2000, XP etc. but in 98 it is working very fine)
    _____________________________________________________________________________
    Knowledge Is Power. Be Sure To Use This Power For Others WelFare. (;->

  • Yes this is not working on my windows xp :(
  • : Yes this is not working on my windows xp :(
    :

    Windows XP uses a different way of showing active processes. It's still possible to prevent your application from being seen, however. In order to do so, you must have the device loaded as a device driver for a fictational device.


    EtHeO out...

  • : : Yes this is not working on my windows xp :(
    : :
    :
    : Windows XP uses a different way of showing active processes. It's still possible to prevent your application from being seen, however. In order to do so, you must have the device loaded as a device driver for a fictational device.
    :
    :
    : EtHeO out...
    :
    :

    bummer its a shame for XP users ;)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories