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

📄 frm_choose.frm

📁 家庭或个人最好的管理小型软件
💻 FRM
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form frm_choose 
   BackColor       =   &H00C0C0FF&
   Caption         =   "选择数据库路径"
   ClientHeight    =   2670
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   Icon            =   "frm_choose.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   ScaleHeight     =   2670
   ScaleWidth      =   4680
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton cmd_choose 
      Caption         =   "选择路径"
      Height          =   375
      Left            =   2280
      TabIndex        =   4
      Top             =   1920
      Width           =   1215
   End
   Begin VB.TextBox Text2 
      Height          =   270
      Left            =   3840
      TabIndex        =   3
      Text            =   "Text2"
      Top             =   1680
      Visible         =   0   'False
      Width           =   495
   End
   Begin VB.CommandButton cmd_ok 
      Caption         =   "确定"
      Height          =   375
      Left            =   1080
      TabIndex        =   1
      Top             =   1920
      Width           =   1215
   End
   Begin VB.TextBox Text1 
      Height          =   495
      Left            =   240
      TabIndex        =   0
      Top             =   960
      Width           =   4095
   End
   Begin MSComDlg.CommonDialog CommonDialog1 
      Left            =   120
      Top             =   1920
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
      FontSize        =   12
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "注意:请正确输入或选择数据库路径,否则本程序将无法正常运行!"
      Height          =   375
      Left            =   360
      TabIndex        =   2
      Top             =   360
      Width           =   4095
   End
End
Attribute VB_Name = "frm_choose"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmd_choose_Click()
            On Error Resume Next
            CommonDialog1.Filter = "database(*.mdb)|*.mdb"
            CommonDialog1.ShowOpen
            Str_path = CommonDialog1.FileName
            Text1.Text = CommonDialog1.FileName
            SaveSetting "小财迷", "personal", "路径", Str_path
            Text2.Text = CommonDialog1.FileName
            
            If Text2.Text <> "" Then
               frm_login.Show
               Unload Me
            Else
               Show
            End If
      
End Sub
Private Sub cmd_ok_Click()
            On Error Resume Next
            Str_path = Text1.Text
            SaveSetting "小财迷", "personal", "路径", Str_path
            frm_login.Show
            Unload Me
End Sub

⌨️ 快捷键说明

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