📄 module1.bas
字号:
Attribute VB_Name = "Module1"
Option Explicit
Public gstruser As String
Public gblnPurview As Boolean
Public pubCnn As New ADODB.Connection
Public Sub CreateConnection()
pubCnn.CursorLocation = adUseClient
pubCnn.Open "provider=microsoft.jet.oledb.4.0;data source=" & App.Path & "\student_data\student_massage.mdb"
End Sub
Public Sub FocusBack(txtX As TextBox)
txtX.SelStart = 0
txtX.SelLength = Len(txtX.Text)
txtX.SetFocus
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -