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

📄 启动控制面板大全.frm

📁 一款漂亮的控件。 快
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "启动控制面板大全"
   ClientHeight    =   3855
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   5505
   LinkTopic       =   "Form1"
   ScaleHeight     =   3855
   ScaleWidth      =   5505
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command1 
      Caption         =   "打开 IE 的设置窗口"
      Height          =   465
      Index           =   12
      Left            =   3720
      TabIndex        =   13
      Top             =   1680
      Width           =   1320
   End
   Begin VB.CommandButton Command1 
      Caption         =   "打开拨号连接"
      Height          =   465
      Index           =   11
      Left            =   3720
      TabIndex        =   12
      Top             =   1080
      Width           =   1320
   End
   Begin VB.CommandButton Command1 
      Caption         =   "启动日期和时间设置"
      Height          =   480
      Index           =   10
      Left            =   3720
      TabIndex        =   10
      Top             =   2280
      Width           =   1320
   End
   Begin VB.CommandButton Command1 
      Caption         =   "设置"
      Height          =   420
      Index           =   9
      Left            =   1920
      TabIndex        =   9
      Top             =   2520
      Width           =   1320
   End
   Begin VB.CommandButton Command1 
      Caption         =   "屏幕保护"
      Height          =   420
      Index           =   8
      Left            =   1920
      TabIndex        =   8
      Top             =   2040
      Width           =   1320
   End
   Begin VB.CommandButton Command1 
      Caption         =   "外观"
      Height          =   420
      Index           =   7
      Left            =   1920
      TabIndex        =   7
      Top             =   1560
      Width           =   1320
   End
   Begin VB.CommandButton Command1 
      Caption         =   "背景"
      Height          =   420
      Index           =   6
      Left            =   1920
      TabIndex        =   6
      Top             =   1080
      Width           =   1320
   End
   Begin VB.CommandButton Command1 
      Caption         =   "声音"
      Height          =   420
      Index           =   5
      Left            =   180
      TabIndex        =   5
      Top             =   2970
      Width           =   1320
   End
   Begin VB.CommandButton Command1 
      Caption         =   "鼠标"
      Height          =   420
      Index           =   4
      Left            =   180
      TabIndex        =   4
      Top             =   2520
      Width           =   1320
   End
   Begin VB.CommandButton Command1 
      Caption         =   "键盘"
      Height          =   420
      Index           =   3
      Left            =   180
      TabIndex        =   3
      Top             =   2025
      Width           =   1320
   End
   Begin VB.CommandButton Command1 
      Caption         =   "显示"
      Height          =   420
      Index           =   2
      Left            =   180
      TabIndex        =   2
      Top             =   1575
      Width           =   1320
   End
   Begin VB.CommandButton Command1 
      Caption         =   "辅助选项"
      Height          =   420
      Index           =   1
      Left            =   180
      TabIndex        =   1
      Top             =   1080
      Width           =   1320
   End
   Begin VB.CommandButton Command1 
      Caption         =   "启动控制面板"
      Height          =   420
      Index           =   0
      Left            =   225
      TabIndex        =   0
      Top             =   360
      Width           =   1320
   End
   Begin VB.Shape Shape3 
      Height          =   3255
      Left            =   3600
      Top             =   240
      Width           =   1695
   End
   Begin VB.Shape Shape2 
      Height          =   3255
      Left            =   1800
      Top             =   240
      Width           =   1695
   End
   Begin VB.Shape Shape1 
      Height          =   3255
      Left            =   120
      Top             =   240
      Width           =   1455
   End
   Begin VB.Label Label2 
      Caption         =   "启动显示设置面板"
      Height          =   240
      Left            =   2040
      TabIndex        =   11
      Top             =   360
      Width           =   1635
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit


Private Sub Command1_Click(Index As Integer)
Dim x

Select Case Index
Case 0
'启动控制面板:
x = Shell("rundll32.exe shell32.dll,Control_RunDLL")
Case 1
'启动辅助选项面板:
'常规:
x = Shell("rundll32.exe shell32.dll,Control_RunDLL access.cpl,,5")
Case 2
'显示:
x = Shell("rundll32.exe shell32.dll,Control_RunDLL access.cpl,,3")
Case 3
'键盘:
x = Shell("rundll32.exe shell32.dll,Control_RunDLL access.cpl,,1")
Case 4
'鼠标:
x = Shell("rundll32.exe shell32.dll,Control_RunDLL access.cpl,,4")
Case 5
'声音:
x = Shell("rundll32.exe shell32.dll,Control_RunDLL access.cpl,,2")
Case 6
'启动显示设置面板:
'背景:
x = Shell("rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0")
Case 7
'外观:
x = Shell("rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,2")
Case 8
'屏幕保护:
x = Shell("rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1")
Case 9
'设置:
x = Shell("rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,3")
Case 10
'启动日期和时间设置:
x = Shell("rundll32.exe shell32.dll,Control_RunDLL timedate.cpl")
Case 11
'打开拨号连接:
x = Shell("rundll32.exe rnaui.dll,RnaDial " & "连接_名称", 1)
Case 12
'打开 IE4 的设置窗口:
x = Shell("rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl")
End Select
End Sub

⌨️ 快捷键说明

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