📄 module1.bas
字号:
Attribute VB_Name = "Module1"
Option Explicit
Public cnFriend As ADODB.Connection
Public Sub Friendconnection()
Set cnFriend = New Connection
cnFriend.ConnectionTimeout = 15
cnFriend.Open " Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\hail-fellow.mdb;Persist Security Info=False"
cnFriend.CursorLocation = adUseClient
End Sub
Public Sub main()
Friendconnection
frmSplash.Show
End Sub
Public Sub EnterTab(KeyAscii As Integer)
If KeyAscii = 13 Then
SendKeys "{Tab}"
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -