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

📄 frmmain.frm

📁 VB写PC端ISP程序W78E516UpdataOfVB,请配合本人用C51写的华邦8位单片机ISP程序w78e516_ISPofC51使用
💻 FRM
📖 第 1 页 / 共 3 页
字号:
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "COMCTL32.OCX"
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Begin VB.Form Frmmain 
   Caption         =   "税控器在线升级程序"
   ClientHeight    =   6435
   ClientLeft      =   -75
   ClientTop       =   1005
   ClientWidth     =   11175
   Icon            =   "FRMMAIN.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   6435
   ScaleWidth      =   11175
   StartUpPosition =   2  '屏幕中心
   Begin ComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   825
      Left            =   0
      TabIndex        =   3
      Top             =   0
      Width           =   11175
      _ExtentX        =   19711
      _ExtentY        =   1455
      ButtonWidth     =   1455
      ButtonHeight    =   1349
      Wrappable       =   0   'False
      ImageList       =   "ImageList1"
      _Version        =   327682
      BeginProperty Buttons {0713E452-850A-101B-AFC0-4210102A8DA7} 
         NumButtons      =   14
         BeginProperty Button1 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "打开"
            Key             =   "Open"
            Object.Tag             =   ""
            Object.Width           =   100
         EndProperty
         BeginProperty Button2 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "保存"
            Key             =   "Save"
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button3 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "清空"
            Key             =   "Clear"
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button4 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "填充"
            Key             =   "Fill"
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button5 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "移动"
            Key             =   "Move"
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button6 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "擦除"
            Key             =   "Erase"
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button7 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "全空检查"
            Key             =   "Blank"
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button8 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "编程"
            Key             =   "Program"
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button9 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "校验"
            Key             =   "Verify"
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button10 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "加密"
            Key             =   "Secu"
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button11 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "自动编程"
            Key             =   "Auto"
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button12 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "字库下载"
            Key             =   "WR"
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button13 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "ISP"
            Key             =   "ISP"
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button14 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "退出"
            Key             =   "Exit"
            Object.Tag             =   ""
         EndProperty
      EndProperty
      MouseIcon       =   "FRMMAIN.frx":212A
   End
   Begin ComctlLib.Toolbar Toolbar2 
      Align           =   1  'Align Top
      Height          =   615
      Left            =   0
      TabIndex        =   8
      Top             =   825
      Width           =   11175
      _ExtentX        =   19711
      _ExtentY        =   1085
      ButtonWidth     =   2408
      ButtonHeight    =   926
      Appearance      =   1
      _Version        =   327682
      BeginProperty Buttons {0713E452-850A-101B-AFC0-4210102A8DA7} 
         NumButtons      =   6
         BeginProperty Button1 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "读AM29F016"
            Key             =   "readFlash1"
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button2 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "写AM29F016"
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button3 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "校验AM29F016"
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button4 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "读SST29EE010"
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button5 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "写SST29EE010"
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Button6 {0713F354-850A-101B-AFC0-4210102A8DA7} 
            Caption         =   "校验SST29EE010"
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
      EndProperty
   End
   Begin VB.Frame Frame1 
      Caption         =   "自动编程选项"
      Height          =   2775
      Left            =   8520
      TabIndex        =   10
      Top             =   1440
      Width           =   2535
      Begin VB.CheckBox CHK 
         Caption         =   "    系统复位"
         Height          =   375
         Index           =   5
         Left            =   240
         TabIndex        =   16
         Top             =   2160
         Value           =   1  'Checked
         Width           =   1815
      End
      Begin VB.CheckBox CHK 
         Caption         =   "    加密"
         Height          =   375
         Index           =   4
         Left            =   240
         TabIndex        =   15
         Top             =   1800
         Value           =   2  'Grayed
         Width           =   1575
      End
      Begin VB.CheckBox CHK 
         Caption         =   "    校验"
         Height          =   375
         Index           =   3
         Left            =   240
         TabIndex        =   14
         Top             =   1440
         Value           =   2  'Grayed
         Width           =   1455
      End
      Begin VB.CheckBox CHK 
         Caption         =   "    编程"
         Height          =   375
         Index           =   2
         Left            =   240
         TabIndex        =   13
         Top             =   1080
         Value           =   1  'Checked
         Width           =   1575
      End
      Begin VB.CheckBox CHK 
         Caption         =   "    全空检查"
         Height          =   375
         Index           =   1
         Left            =   240
         TabIndex        =   12
         Top             =   720
         Value           =   1  'Checked
         Width           =   1695
      End
      Begin VB.CheckBox CHK 
         Caption         =   "    擦除"
         Height          =   375
         Index           =   0
         Left            =   240
         TabIndex        =   11
         Top             =   360
         Value           =   1  'Checked
         Width           =   1455
      End
   End
   Begin ComctlLib.StatusBar StatusBar 
      Align           =   2  'Align Bottom
      Height          =   375
      Left            =   0
      TabIndex        =   9
      Top             =   6060
      Width           =   11175
      _ExtentX        =   19711
      _ExtentY        =   661
      SimpleText      =   ""
      _Version        =   327682
      BeginProperty Panels {0713E89E-850A-101B-AFC0-4210102A8DA7} 
         NumPanels       =   11
         BeginProperty Panel1 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Panel2 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Panel3 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Panel4 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Panel5 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Panel6 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Panel7 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Panel8 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Panel9 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Panel10 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Panel11 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
      EndProperty
   End
   Begin 工程1.Xp_ProgressBar Xp_ProgressBar2 
      Height          =   255
      Left            =   120
      TabIndex        =   7
      Top             =   5760
      Width           =   10935
      _ExtentX        =   19288
      _ExtentY        =   450
   End
   Begin VB.PictureBox Picture1 
      Height          =   375
      Left            =   120
      ScaleHeight     =   315
      ScaleWidth      =   10875
      TabIndex        =   4
      Top             =   960
      Width           =   10935
      Begin VB.Label LB1 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   0
         TabIndex        =   5
         Top             =   0
         Width           =   10935
      End
   End
   Begin MSWinsockLib.Winsock tcpsock 
      Left            =   1800
      Top             =   5760
      _ExtentX        =   741
      _ExtentY        =   741
      _Version        =   393216
   End
   Begin VB.Timer Timer1 
      Enabled         =   0   'False
      Interval        =   4000
      Left            =   0
      Top             =   0
   End
   Begin VB.Frame Frame6 
      Height          =   855
      Left            =   8520
      TabIndex        =   2
      Top             =   4440
      Width           =   2535
      Begin VB.CheckBox CHKFile 
         Caption         =   "  编程之前将文件重新   装入缓冲区"
         Height          =   495
         Left            =   240
         TabIndex        =   17
         Top             =   240
         Width           =   2175
      End
   End
   Begin VB.VScrollBar VS 
      Height          =   4215
      Left            =   8040
      Max             =   32752
      TabIndex        =   1
      Top             =   1440
      Width           =   255
   End
   Begin MSCommLib.MSComm MSCOM 
      Left            =   3960
      Top             =   8520
      _ExtentX        =   1005
      _ExtentY        =   1005
      _Version        =   393216
      DTREnable       =   -1  'True
      BaudRate        =   19200
      InputMode       =   1
   End
   Begin MSComDlg.CommonDialog CDIAL 
      Left            =   5760
      Top             =   6840
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
   Begin RichTextLib.RichTextBox RICHbox 
      Height          =   4215
      Index           =   0
      Left            =   120
      TabIndex        =   0
      Top             =   1440
      Width           =   7980
      _ExtentX        =   14076
      _ExtentY        =   7435
      _Version        =   393217
      ReadOnly        =   -1  'True
      TextRTF         =   $"FRMMAIN.frx":2444
   End
   Begin 工程1.Xp_ProgressBar Xp_ProgressBar1 
      Height          =   255
      Left            =   0
      TabIndex        =   6
      Top             =   0
      Width           =   4935
      _ExtentX        =   8705
      _ExtentY        =   450
   End
   Begin ComctlLib.ImageList ImageList1 
      Left            =   9000
      Top             =   5760
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483633
      ImageWidth      =   32
      ImageHeight     =   32
      MaskColor       =   65535
      UseMaskColor    =   0   'False
      _Version        =   327682
      BeginProperty Images {0713E8C2-850A-101B-AFC0-4210102A8DA7} 
         NumListImages   =   1
         BeginProperty ListImage1 {0713E8C3-850A-101B-AFC0-4210102A8DA7} 
            Picture         =   "FRMMAIN.frx":24E1
            Key             =   ""
         EndProperty
      EndProperty
   End
   Begin VB.Menu File 
      Caption         =   "文件(&F)"
      Begin VB.Menu OpenFile 
         Caption         =   "打开文件"
      End
      Begin VB.Menu SaveAsFile 
         Caption         =   "保存文件"
      End
      Begin VB.Menu SetCom 
         Caption         =   "通信设置"
      End
   End
End
Attribute VB_Name = "Frmmain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Cmd_Click(Index As Integer)
Dim STR As String
Dim BYT As Byte, i As Byte, J As Byte
Dim DataCount As Long
Dim groupcount As Long
Dim BYTES() As Byte

⌨️ 快捷键说明

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