?? 串口.frm
字號:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 4680
ClientLeft = 60
ClientTop = 450
ClientWidth = 7590
LinkTopic = "Form1"
ScaleHeight = 4680
ScaleWidth = 7590
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame1
Caption = "參數設置"
Height = 1335
Left = 480
TabIndex = 2
Top = 3120
Width = 5775
Begin VB.TextBox Text3
Height = 375
Left = 3480
TabIndex = 6
Text = "1"
Top = 480
Width = 975
End
Begin VB.TextBox Text2
Height = 375
Left = 1200
Locked = -1 'True
TabIndex = 4
Text = "19200"
Top = 480
Width = 975
End
Begin VB.Label Label2
Alignment = 2 'Center
Caption = "通訊端口"
Height = 375
Left = 2280
TabIndex = 5
Top = 480
Width = 975
End
Begin VB.Label Label1
Alignment = 2 'Center
Caption = "波特率"
Height = 375
Left = 120
TabIndex = 3
Top = 480
Width = 975
End
End
Begin VB.TextBox Text1
Height = 735
Left = 2280
TabIndex = 1
Text = "Text1"
Top = 600
Width = 3975
End
Begin VB.CommandButton Command1
Caption = "進行通信"
Height = 495
Left = 480
TabIndex = 0
Top = 600
Width = 1215
End
Begin MSCommLib.MSComm MSComm1
Left = 6840
Top = 240
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
CommPort = 2
InBufferSize = 16500
BaudRate = 19200
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Dim i As Integer
For i = 1 To 16
comboport.AddItem "com" & Trim$(Str$(i))
next icomboport.listindex =mscomm1.CommPort-1
End Sub
Private Sub MSComm1_OnComm()
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -