📄 batchsetup.frm
字号:
VERSION 5.00
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "COMCTL32.OCX"
Begin VB.Form frmNewCard
BackColor = &H00C0C0C0&
BorderStyle = 3 'Fixed Dialog
Caption = "发新卡"
ClientHeight = 5295
ClientLeft = 45
ClientTop = 330
ClientWidth = 5790
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "BatchSetup.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5295
ScaleWidth = 5790
StartUpPosition = 1 '所有者中心
Begin ComctlLib.StatusBar sbrState
Align = 2 'Align Bottom
Height = 315
Left = 0
TabIndex = 17
Top = 4980
Width = 5790
_ExtentX = 10213
_ExtentY = 556
SimpleText = ""
_Version = 327682
BeginProperty Panels {0713E89E-850A-101B-AFC0-4210102A8DA7}
NumPanels = 1
BeginProperty Panel1 {0713E89F-850A-101B-AFC0-4210102A8DA7}
Object.Width = 10372
MinWidth = 10372
Key = "State"
Object.Tag = ""
Object.ToolTipText = "状态提示"
EndProperty
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Frame fraSetup
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 4590
Left = 210
TabIndex = 10
Top = 120
Width = 3915
Begin VB.TextBox txtName
Height = 345
Left = 2370
TabIndex = 4
Top = 2550
Width = 1245
End
Begin VB.TextBox txtPassWord
Height = 345
IMEMode = 3 'DISABLE
Left = 2385
MaxLength = 6
PasswordChar = "*"
TabIndex = 5
Text = "b62307"
Top = 3345
Width = 1245
End
Begin VB.TextBox txtNewPassWord
Height = 345
Left = 2385
MaxLength = 6
TabIndex = 7
Top = 3855
Visible = 0 'False
Width = 1245
End
Begin VB.CheckBox chkChangePass
Caption = "更改密码"
Enabled = 0 'False
Height = 315
Left = 285
TabIndex = 6
Top = 3870
Width = 1230
End
Begin VB.TextBox txtSetup
Enabled = 0 'False
Height = 345
Index = 3
Left = 2370
MaxLength = 5
TabIndex = 3
Text = "0"
Top = 1875
Width = 1245
End
Begin VB.TextBox txtSetup
Enabled = 0 'False
Height = 345
Index = 2
Left = 2370
MaxLength = 3
TabIndex = 2
Text = "0"
Top = 1395
Width = 1245
End
Begin VB.TextBox txtSetup
Height = 345
Index = 1
Left = 2370
MaxLength = 4
TabIndex = 1
Top = 825
Width = 1245
End
Begin VB.TextBox txtSetup
Enabled = 0 'False
Height = 345
Index = 0
Left = 2370
MaxLength = 4
TabIndex = 0
Text = "WZMG"
Top = 345
Width = 1245
End
Begin VB.Label lblSetup
AutoSize = -1 'True
Caption = "姓名:"
Height = 210
Index = 4
Left = 285
TabIndex = 18
Top = 2617
Width = 630
End
Begin VB.Label lblNewPassWord
AutoSize = -1 'True
Caption = "新密码:"
Height = 210
Left = 1575
TabIndex = 16
Top = 3915
Visible = 0 'False
Width = 735
End
Begin VB.Label lblPassWord
AutoSize = -1 'True
Caption = "IC卡校验密码:"
Height = 210
Left = 285
TabIndex = 15
Top = 3405
Width = 1365
End
Begin VB.Label lblSetup
AutoSize = -1 'True
Caption = "交易数据(0-65535):"
Height = 210
Index = 3
Left = 285
TabIndex = 14
Top = 1935
Width = 1890
End
Begin VB.Label lblSetup
AutoSize = -1 'True
Caption = "状态代码(0-255):"
Height = 210
Index = 2
Left = 285
TabIndex = 13
Top = 1455
Width = 1680
End
Begin VB.Label lblSetup
AutoSize = -1 'True
Caption = "个人代码(4个字符):"
Height = 210
Index = 1
Left = 285
TabIndex = 12
Top = 885
Width = 1890
End
Begin VB.Label lblSetup
AutoSize = -1 'True
Caption = "IC卡代码(4个字符):"
Height = 210
Index = 0
Left = 285
TabIndex = 11
Top = 405
Width = 1890
End
End
Begin VB.CommandButton cmdExit
Caption = "退出(&X)"
Height = 420
Left = 4380
TabIndex = 9
Top = 780
Width = 1155
End
Begin VB.CommandButton cmdWrite
Caption = "写卡(&W)"
Height = 420
Left = 4380
TabIndex = 8
Top = 240
Width = 1125
End
End
Attribute VB_Name = "frmNewCard"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Const CID = 0
Const PID = 1
Const SID = 2
Const DATA = 3
Const Emp_Name = 4
'Public mblnIsBatch As Boolean
Const mstrParaErr = "写卡参数不能为空,请输入!"
Const mstrDataErr = "交易数据超出范围(0-65535)!,请重输!"
Const mstrWriteErr = "写卡错误"
Const mstrCIDErr = "IC卡代码必须是4个字符!"
Const mstrPIDErr = "个人代码必须是4个字符!"
Const mstrSIDErr = "状态代码超出范围(0-255)!,请重输!"
Const mstrPSWErr = "IC卡检验密码必须是6个字符!"
Const mstrNoCardErr = "无卡,请插入卡后再操作!"
Const mstrPowerOnErr = "无法上电,请检查电源及其他相关硬件后,再试!"
Const mstrCheckPSWErr = "校验密码不正确"
Const mstrWriteMainErr = "写主存储区错误"
Const mstrChgPswErr = "更改密码错误"
Const mstrReadMainErr = "读主存储区错误"
Const mstrCheckDataErr = "所读数据与所写数据不同错误"
Const mstrSuccessMsg = "写卡成功,请取出卡!"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -