?? send05.frm
字號:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form Form1
Caption = "LED信息顯示屏傳送軟件"
ClientHeight = 6285
ClientLeft = 45
ClientTop = 270
ClientWidth = 6750
FillColor = &H00FFFFFF&
LinkTopic = "Form1"
ScaleHeight = 8595
ScaleWidth = 11880
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox txtSend
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000007&
Height = 6375
Left = 600
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 0
ToolTipText = "文字輸入?yún)^(qū)"
Top = 1440
Width = 9495
End
Begin VB.CommandButton Command2
Caption = "保存"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 10560
Style = 1 'Graphical
TabIndex = 9
ToolTipText = "保存文件"
Top = 4320
Width = 975
End
Begin VB.CommandButton Command1
BackColor = &H0000C0C0&
Caption = "打開"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 10560
Style = 1 'Graphical
TabIndex = 8
ToolTipText = "打開文件"
Top = 3000
Width = 975
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 2760
Top = 0
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.Frame Frame1
Appearance = 0 'Flat
BackColor = &H00C0E0FF&
Caption = "選擇通訊口"
ForeColor = &H80000008&
Height = 855
Left = 10320
TabIndex = 5
ToolTipText = "選擇電腦通訊口"
Top = 1440
Width = 1335
Begin VB.OptionButton Optcom2
BackColor = &H80000016&
Caption = "COM2"
Height = 255
Left = 240
TabIndex = 7
ToolTipText = "電腦串口2"
Top = 240
Width = 975
End
Begin VB.OptionButton Optcom1
BackColor = &H80000016&
Caption = "COM1"
Height = 255
Left = 240
TabIndex = 6
ToolTipText = "電腦串口1"
Top = 480
Value = -1 'True
Width = 975
End
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 20
Left = 2160
Top = 0
End
Begin MSCommLib.MSComm Comm1
Left = 1440
Top = 0
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
RThreshold = 1
BaudRate = 2400
InputMode = 1
End
Begin VB.CommandButton CmdExit
Cancel = -1 'True
Caption = "結(jié)束"
BeginProperty Font
Name = "MS Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 10560
Style = 1 'Graphical
TabIndex = 2
ToolTipText = "離開程序"
Top = 6960
Width = 975
End
Begin VB.CommandButton CmdSend
Caption = "傳送"
BeginProperty Font
Name = "MS Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 10560
Style = 1 'Graphical
TabIndex = 1
ToolTipText = "顯示數(shù)據(jù)傳輸?shù)絃ED信息顯示屏"
Top = 5640
Width = 975
End
Begin VB.Label Label3
Caption = "紅棱電子"
BeginProperty Font
Name = "隸書"
Size = 42
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 855
Left = 3600
TabIndex = 10
Top = 240
Width = 3615
End
Begin VB.Label Label1
Alignment = 1 'Right Justify
BackColor = &H00FF8080&
BorderStyle = 1 'Fixed Single
Caption = "文字輸入?yún)^(qū)"
BeginProperty Font
Name = "宋體"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 495
Left = 600
TabIndex = 3
Top = 960
Width = 2415
End
Begin VB.Label Label2
BorderStyle = 1 'Fixed Single
Caption = "發(fā)送信息顯示"
BeginProperty Font
Name = "宋體"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 375
Left = 7680
TabIndex = 4
ToolTipText = "LED信息顯示屏通訊軟件2.0 (2004.5.1)"
Top = 360
Width = 2655
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim i, j
Dim TheFileName As String
''''''''''''''''''''''''''''''''''''''
'MSComm 的 OnComm 事件程序
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -