⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stickyapp32.frm

📁 该代码可以使你的进程不能用任务管理器终止
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   BackColor       =   &H00C0C0C0&
   BorderStyle     =   4  'Fixed ToolWindow
   Caption         =   "StickyApp32"
   ClientHeight    =   1755
   ClientLeft      =   45
   ClientTop       =   285
   ClientWidth     =   5100
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1755
   ScaleWidth      =   5100
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   Begin VB.Label Label3 
      AutoSize        =   -1  'True
      BackColor       =   &H00C0C0C0&
      Caption         =   "Copyright 1997, 1998 Yariv Kaplan"
      BeginProperty Font 
         Name            =   "Verdana"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   240
      Left            =   668
      TabIndex        =   2
      Top             =   945
      Width           =   3765
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      BackColor       =   &H00C0C0C0&
      Caption         =   "WWW.INTERNALS.COM"
      BeginProperty Font 
         Name            =   "Verdana"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   240
      Left            =   1245
      TabIndex        =   1
      Top             =   1305
      Width           =   2460
   End
   Begin VB.Label Label1 
      BackColor       =   &H00C0C0C0&
      Caption         =   "This application cannot be terminated from the Windows NT Task Manager !"
      BeginProperty Font 
         Name            =   "Verdana"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00000000&
      Height          =   570
      Left            =   180
      TabIndex        =   0
      Top             =   180
      Width           =   4740
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' ---------------------------------
'         StickyApp32 v1.0
' Copyright 1997, 1998 Yariv Kaplan
'        WWW.INTERNALS.COM
' ---------------------------------

Option Explicit

Private Sub Form_Load()

  Dim hHookDLL As Long
  Dim pHookFunction As Long
  Dim hSystemHook As Long
  
  App.TaskVisible = False
  
  hHookDLL = LoadLibrary("StickyApp32.DLL")
  
  If hHookDLL = 0 Then
    MsgBox "Could not locate StickyApp32.DLL", vbOKOnly Or vbCritical, "StickyApp32"
    End
  End If
  
  pHookFunction = GetProcAddress(hHookDLL, "HookFunction")
  hSystemHook = SetWindowsHookEx(WH_CBT, pHookFunction, hHookDLL, 0)
  
End Sub

Private Sub Form_Unload(Cancel As Integer)
  Cancel = True
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -