📄 connect to.frm
字号:
VERSION 5.00
Begin VB.Form Connect
BorderStyle = 1 'Fixed Single
Caption = "建立连接"
ClientHeight = 1335
ClientLeft = 4200
ClientTop = 2610
ClientWidth = 3615
Icon = "Connect To.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
PaletteMode = 1 'UseZOrder
ScaleHeight = 1335
ScaleWidth = 3615
Begin VB.CommandButton Apply
Caption = "应用"
Height = 375
Left = 2520
TabIndex = 2
Top = 360
Width = 975
End
Begin VB.TextBox Connection
Height = 285
Left = 120
TabIndex = 1
Top = 360
Width = 2295
End
Begin VB.CommandButton Cancel
Caption = "取消"
Height = 375
Left = 2520
TabIndex = 3
Top = 840
Width = 975
End
Begin VB.Label Connectionlabel
Caption = "选择电话簿"
Height = 255
Left = 120
TabIndex = 0
Top = 120
Width = 1455
End
End
Attribute VB_Name = "Connect"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Apply_Click()
Dim rtn
'通过调用程序rundll32.exe来执行拨号控制的exe rnaui.dll
rtn = Shell("rundll32.exe rnaui.dll,RnaDial " & Connection.Text, 0)
End Sub
Private Sub Cancel_Click()
'退出程序
Unload Me
End Sub
Private Sub Form_Load()
'是界面居中
Move (Screen.Width - Width) \ 2, (Screen.Height - Height) \ 2
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -