form_load 里写上 me.hide
注册表里
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run下面键个字符串值,写你程序的全PATH和NAME

解决方案 »

  1.   

    寫註冊表到..HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    第二..在form.load中調過一個API..RegisterServiceProcess.此API可以在Win98下隱藏進程..但在win2000中做不到..
    以下為申明.
    Public Declare Function RegisterServiceProcess Lib "KERNEL32.DLL" (ByVal processid As String, ByVal dwtype As Long) As Long
    調用方法..
     RegisterServiceProcess vbNullString, 1  'Hide process
      

  2.   

    出现Win98的用户登陆界面,加载我的程序
    是:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices