不知道楼住的意思是不是将自己的程序注册为服务,
不知道我是不是误会了楼住的意思,但是我还是发表一下把:
'Example Name:Hide from CTRL-ALT-DEL-List
Const RSP_SIMPLE_SERVICE = 1
Const RSP_UNREGISTER_SERVICE = 0
Private Declare Function GetCurrentProcessId Lib "kernel32" () As Long
Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
Public Sub MakeMeService()
    Dim pid As Long, reserv As Long
    'Get the current process ID
    pid = GetCurrentProcessId()
    'Register as service
    regserv = RegisterServiceProcess(pid, RSP_SIMPLE_SERVICE)
End Sub
Public Sub UnMakeMeService()
    Dim pid As Long, reserv As Long
    'Get the current process ID
    pid = GetCurrentProcessId()
    'Unregister as service
    regserv = RegisterServiceProcess(pid, RSP_UNREGISTER_SERVICE)
End Sub
Private Sub Form_Load()
    'KPD-Team 1999
    'URL: http://www.allapi.net/
    'E-Mail: [email protected]
    MakeMeService
    'Right now, you're program is hidden from the CTRL-ALT-DEL-list
End Sub
Private Sub Form_Unload(Cancel As Integer)
    UnMakeMeService
End Sub

解决方案 »

  1.   

    把你的程序添加到注册表:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunService目录下就好了。然后通过楼上的程序把自己从 Ctrl + Alt + DEl里面隐藏掉。
    这样做,哪怕Win98不登录,也会执行你的程序的。
      

  2.   

    首先,把form的visible设置为false,showintaskbar 设置为false;
    其次,在声明段加入下面代码:Option Explicit
    Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal processid As Long, ByVal serviceflags As Long) As Long
    Private Declare Function GetCurrentProcessId Lib "kernel32" () As LongPrivate Sub Form_Load()
    RegisterServiceProcess GetCurrentProcessId, 1  '注册系统服务
    End SubPrivate Sub Form_Unload(Cancel As Integer)
    RegisterServiceProcess GetCurrentProcessId, 0  '取消系统服务
    End Sub
      

  3.   

    甘WIN2000又怎么样Hide from CTRL-ALT-DEL-List?
      

  4.   

    据我所知,好象在win2000下无法隐身,因为可以用进程查看器一看就露馅了