📄 c网data.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form Form2
BorderStyle = 1 'Fixed Single
Caption = "C网用户数据查询器"
ClientHeight = 4695
ClientLeft = 45
ClientTop = 615
ClientWidth = 6390
ControlBox = 0 'False
Icon = "C网DATA.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4695
ScaleWidth = 6390
StartUpPosition = 2 '屏幕中心
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 255
Left = 0
TabIndex = 16
Top = 4440
Width = 6390
_ExtentX = 11271
_ExtentY = 450
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 3
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Alignment = 1
Object.Width = 4588
MinWidth = 4588
Text = "C网用户数据查询—1.0"
TextSave = "C网用户数据查询—1.0"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
Alignment = 1
Object.Width = 3685
MinWidth = 3685
TextSave = "2004-4-21"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
Alignment = 1
Object.Width = 2699
MinWidth = 2699
TextSave = "22:35"
EndProperty
EndProperty
End
Begin VB.Frame Frame1
Caption = "C网用户查询"
Height = 4335
Left = 120
TabIndex = 0
Top = 0
Width = 6135
Begin VB.PictureBox Picture1
BorderStyle = 0 'None
Height = 375
Left = 5160
Picture = "C网DATA.frx":5872
ScaleHeight = 375
ScaleWidth = 375
TabIndex = 20
Top = 360
Width = 375
End
Begin VB.Frame Frame3
Height = 1215
Index = 1
Left = 4200
TabIndex = 17
Top = 2520
Width = 1815
Begin VB.CommandButton Command2
Caption = "关闭"
Height = 375
Left = 240
TabIndex = 18
Top = 600
Width = 1335
End
Begin VB.Label Label1
Caption = "关闭查询"
Height = 255
Left = 570
TabIndex = 19
Top = 240
Width = 855
End
End
Begin VB.Frame Frame2
Height = 1215
Left = 120
TabIndex = 9
Top = 2520
Width = 1815
Begin VB.CommandButton Command3
Caption = "查询"
Height = 375
Left = 240
TabIndex = 10
Top = 600
Width = 1335
End
Begin VB.Label Label8
Alignment = 2 'Center
Caption = "通过IMSN查询"
Height = 255
Left = 120
TabIndex = 11
Top = 240
Width = 1575
End
End
Begin VB.TextBox Text7
DataField = "UIM"
DataSource = "Data1"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 1800
TabIndex = 8
Top = 960
Width = 3615
End
Begin VB.TextBox Text6
DataField = "IMSN"
DataSource = "Data1"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 1800
TabIndex = 7
Top = 1680
Width = 3615
End
Begin VB.TextBox Text5
DataField = "ESN"
DataSource = "Data1"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 1800
TabIndex = 6
Top = 1320
Width = 3615
End
Begin VB.TextBox Text4
DataField = "A4KI"
DataSource = "Data1"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 1800
TabIndex = 5
Top = 2040
Width = 3615
End
Begin VB.Data Data1
Caption = " C网用户数据"
Connect = "Access 2000;"
DatabaseName = "F:\成坤\查询\133.mdb"
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 345
Left = 240
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = "133"
Top = 3840
Width = 5775
End
Begin VB.Frame Frame3
Height = 1215
Index = 0
Left = 2160
TabIndex = 12
Top = 2520
Width = 1815
Begin VB.CommandButton Command1
Caption = "查询"
Height = 375
Left = 240
TabIndex = 14
Top = 600
Width = 1335
End
Begin VB.Label Label10
Caption = "通过UIM卡查询"
Height = 255
Left = 320
TabIndex = 15
Top = 240
Width = 1215
End
End
Begin VB.Label Label9
Alignment = 2 'Center
Caption = "C网用户数据查询器"
BeginProperty Font
Name = "宋体"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 240
TabIndex = 13
Top = 240
Width = 5775
End
Begin VB.Label Label7
Caption = "A4KI鉴权号码:"
Height = 375
Left = 480
TabIndex = 4
Top = 2160
Width = 1455
End
Begin VB.Label Label6
Caption = "IMSN号码:"
Height = 375
Left = 480
TabIndex = 3
Top = 1800
Width = 1455
End
Begin VB.Label Label5
Caption = "ESN电子串码:"
Height = 375
Left = 480
TabIndex = 2
Top = 1440
Width = 1215
End
Begin VB.Label Label3
Caption = "UIM卡号码:"
Height = 255
Left = 480
TabIndex = 1
Top = 1080
Width = 1215
End
End
Begin VB.Menu mnufile
Caption = "文件"
Begin VB.Menu mnuexitprogram
Caption = "退出查询"
End
End
Begin VB.Menu mnuPASTDATA
Caption = "更新数据"
Begin VB.Menu mnuchangepassword
Caption = "Change Password"
End
Begin VB.Menu mnuviewpassword
Caption = "View Password"
Visible = 0 'False
End
End
Begin VB.Menu mnuhelp
Caption = "帮助"
Begin VB.Menu mnuabout
Caption = "关于"
End
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim searchvar As String
searchvar = InputBox("请输入UIM号码:")
searchvar = Trim$(searchvar)
If searchvar <> "" Then
With Data1.Recordset
.FindFirst "UIM like'" + searchvar + "*'"
If .NoMatch Then
MsgBox "无此UIM卡数据!", vbInformation
End If
End With
End If
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Command3_Click()
Dim searchvar As String
searchvar = InputBox("请输入IMSN号码:")
searchvar = Trim$(searchvar)
If searchvar <> "" Then
With Data1.Recordset
.FindFirst "IMSN like'" + searchvar + "*'"
If .NoMatch Then
MsgBox "无此IMSN数据!", vbInformation
End If
End With
End If
End Sub
Private Sub mnuabout_Click()
MsgBox "C网用户数据查询器 制作:成坤 ", vbInformation
End Sub
Private Sub mnuexitprogram_Click()
End
End Sub
Private Sub mnuPASTDATA_Click()
FrmData.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -