⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 send05.frm

📁 汉字滚动屏包括:汉字库文件、人机界面、通信程序、主控程序。
💻 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     =   "文字输入区"
      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         =   "结束"
      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     =   "显示数据传输到LED信息显示屏"
      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         =   "文字输入区"
      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         =   "发送信息显示"
      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 事件程序

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -