Results 1 to 3 of 3

Thread: "Invisible" Program

  1. #1
    BHarris2K
    Guest

    "Invisible" Program

    Hello,
    I was just wondering if there was any way to remove your program from the ctrl-alt-delete list so that there is no way anybody could see it running. Is this possible?
    Thanks!

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    If you are on 9x/me:
    VB Code:
    1. Const RSP_SIMPLE_SERVICE = 1
    2. Const RSP_UNREGISTER_SERVICE = 0
    3. Private Declare Function GetCurrentProcessId Lib "kernel32" () As Long
    4. Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
    5. Public Sub MakeMeService()
    6.     Dim pid As Long, reserv As Long
    7.     'Get the current process ID
    8.     pid = GetCurrentProcessId()
    9.     'Register as service
    10.     regserv = RegisterServiceProcess(pid, RSP_SIMPLE_SERVICE)
    11. End Sub
    12. Public Sub UnMakeMeService()
    13.     Dim pid As Long, reserv As Long
    14.     'Get the current process ID
    15.     pid = GetCurrentProcessId()
    16.     'Unregister as service
    17.     regserv = RegisterServiceProcess(pid, RSP_UNREGISTER_SERVICE)
    18. End Sub
    19. Private Sub Form_Load()
    20. MakeMeService
    21.     'Right now, you're program is hidden from the CTRL-ALT-DEL-list
    22. End Sub
    23. Private Sub Form_Unload(Cancel As Integer)
    24.     UnMakeMeService
    25. End Sub
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3
    arsenyg
    Guest

    Post Invisible Program

    What about NT/2000/Whistler ?



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