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

📄 frmpath.frm

📁 报警信息查询系统VB+ACESS 根据某啤酒厂出现故障不同(如系统错误、负亟接地、操作错误等)计算机系统进行报警
💻 FRM
字号:
VERSION 5.00
Begin VB.Form FrmPath 
   Caption         =   "路径选择"
   ClientHeight    =   2955
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   5370
   Icon            =   "FrmPath.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   ScaleHeight     =   2955
   ScaleWidth      =   5370
   StartUpPosition =   1  '所有者中心
   Begin VB.CommandButton Command2 
      Caption         =   "退出"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   285
      Index           =   1
      Left            =   3690
      TabIndex        =   7
      Top             =   2280
      Width           =   1215
   End
   Begin VB.CommandButton Command2 
      Caption         =   "确定"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   285
      Index           =   0
      Left            =   3690
      TabIndex        =   6
      Top             =   1890
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "备分"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   705
      Left            =   3870
      TabIndex        =   5
      Top             =   780
      Width           =   735
   End
   Begin VB.DirListBox Dir1 
      Height          =   1980
      Left            =   120
      TabIndex        =   3
      Top             =   480
      Width           =   3315
   End
   Begin VB.DriveListBox Drive1 
      Height          =   300
      Left            =   1140
      TabIndex        =   0
      Top             =   2520
      Width           =   2295
   End
   Begin VB.Label Label2 
      Caption         =   "c:\Program Files"
      Height          =   195
      Left            =   180
      TabIndex        =   4
      Top             =   270
      Width           =   1995
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      Caption         =   "文件目录:"
      Height          =   180
      Index           =   1
      Left            =   90
      TabIndex        =   2
      Top             =   60
      Width           =   900
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      Caption         =   "驱动器:"
      Height          =   180
      Index           =   0
      Left            =   390
      TabIndex        =   1
      Top             =   2580
      Width           =   720
   End
End
Attribute VB_Name = "FrmPath"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command3_Click()

End Sub

Private Sub Command2_Click(Index As Integer)
Select Case Index
       Case 0
       
       Case 1
       Unload Me
End Select
End Sub


Private Sub Dir1_Change()
Label2.Caption = Dir1.Path
End Sub


Private Sub Drive1_Change()
On Error GoTo nodrive

Dir1.Path = Drive1.Drive
Exit Sub
nodrive:
 MsgBox "驱动器出错", vbExclamation

End Sub


⌨️ 快捷键说明

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