practice3_5.frm
来自「深圳大学的vb上机与教学的课件」· FRM 代码 · 共 75 行
FRM
75 行
VERSION 5.00
Begin VB.Form Form1
Caption = "调用应用程序"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
Picture = "practice3_5.frx":0000
ScaleHeight = 3195
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command4
Caption = "记事本"
Height = 1095
Left = 2400
Picture = "practice3_5.frx":252C
Style = 1 'Graphical
TabIndex = 3
Top = 1680
Width = 1695
End
Begin VB.CommandButton Command3
Caption = "画图"
Height = 1095
Left = 360
Picture = "practice3_5.frx":296E
Style = 1 'Graphical
TabIndex = 2
Top = 1680
Width = 1695
End
Begin VB.CommandButton Command2
Caption = "写字板"
Height = 1095
Left = 2400
Picture = "practice3_5.frx":2DB0
Style = 1 'Graphical
TabIndex = 1
Top = 240
Width = 1695
End
Begin VB.CommandButton Command1
Caption = "计算器"
Height = 1095
Left = 360
Picture = "practice3_5.frx":31F2
Style = 1 'Graphical
TabIndex = 0
Top = 240
Width = 1695
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Shell "C:\WINNT\System32\calc.exe", vbNormalFocus
End Sub
Private Sub Command2_Click()
Shell "C:\WINNT\System32\write.exe", vbNormalFocus
End Sub
Private Sub Command3_Click()
Shell "C:\WINNT\System32\mspaint.exe", vbNormalFocus
End Sub
Private Sub Command4_Click()
Shell "C:\WINNT\System32\notepad.exe", vbNormalFocus
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?