【VB开源代码栏目提醒】:网学会员,鉴于大家对VB开源代码十分关注,论文会员在此为大家搜集整理了“frmClientIP.frm”一文,供大家参考学习!
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Begin VB.Form frmClientIP
Caption = "添加客户端ID和IP"
ClientHeight = 7305
ClientLeft = 345
ClientTop = 4395
ClientWidth = 11130
KeyPreview = -1 'True
LinkTopic = "Form1"
ScaleHeight = 7305
ScaleWidth = 11130
StartUpPosition = 2 '屏幕中心
Begin VB.PictureBox picButtons
Align = 2 'Align Bottom
Appearance = 0 'Flat
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 300
Left = 0
ScaleHeight = 300
ScaleWidth = 11130
TabIndex = 5
Top = 6675
Width = 11130
Begin VB.CommandButton cmdClose
Caption = "关闭(&C)"
Height = 300
Left = 4445
TabIndex = 9
Top = 0
Width = 1095
End
Begin VB.CommandButton cmdDelete
Caption = "删除(&D)"
Height = 300
Left = 3060
TabIndex = 8
Top = 0
Width = 1095
End
Begin VB.CommandButton cmdUpdate
Caption = "更新(&U)"
Height = 300
Left = 1675
TabIndex = 7
Top = 0
Width = 1095
End
Begin VB.CommandButton cmdAdd
Caption = "添加(&A)"
Height = 300
Left = 290
TabIndex = 6
Top = 0
Width = 1095
End
End
Begin VB.TextBox txtFields
DataField = "IP"
DataSource = "datPrimaryRS"
Height = 285
Index = 1
Left = 2280
TabIndex = 3
Top = 1800
Width = 3375
End
Begin
VB.TextBox txtFields
DataField = "ID"
DataSource = "datPrimaryRS"
Height = 285
Index = 0
Left = 2400
TabIndex = 1
Top = 840
Width = 3375
End
Begin MSAdodcLib.Adodc datPrimaryRS
Align = 2 'Align Bottom
Height = 330
Left = 0
Top = 6975
Width = 11130
_ExtentX = 19632
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Pass
word = ""
RecordSource = ""
Caption = " "
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin MSDataGridLib.DataGrid grdDataGrid
Bindings = "frmClientIP.frx":0000
Height = 1305
Left = 0
TabIndex = 4
Top = 2400
Width = 5760
_ExtentX = 10160
_ExtentY = 2302
_Version = 393216
AllowUpdate = 0 'False
HeadLines = 1
RowHeight = 15
FormatLocked = -1 'True
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
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
ColumnCount = 2
BeginProperty Column00
DataField = "ID"
Caption = "客户端ID"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column01
DataField = "IP"
Caption = "客户端IP"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
Locked = -1 'True
EndProperty
BeginProperty Column01
EndProperty
EndProperty
End
Begin VB.Label Label6
BackColor = &H000000FF&
Caption = "客户端编号一定要按顺序编排,否则
系统不动作,要及时更改"
Height = 375
Left = 1560
TabIndex = 15
Top = 240
Width = 2535
End
Begin VB.Label Label1
Caption = "操作步骤:"
Height = 255
Left = 6120
TabIndex = 14
Top = 120
Width = 1095
End
Begin VB.Label Label2
Caption = "1.请按下<添加>按钮,然后在相应的文本框输入要填的内容. "
Height = 255
Left = 6000
TabIndex = 13
Top = 630
Width = 4815
End
Begin VB.Label Label3
Caption = "2.输完后请按下<更新>,以将输入的内容加入数据库."
Height = 255
Left = 6000
TabIndex = 12
Top = 1140
Width = 4575
End
Begin VB.Label Label4
Caption = "3.如果要删除记录,请选中相应记录,再按下<删除>."
Height = 255
Left = 6000
TabIndex = 11
Top = 1650
Width = 4815
End
Begin VB.Label Label5
Caption = "4.如果要退出,请按<关闭>."
Height = 255
Left = 6000
TabIndex = 10
Top = 2160
Width = 4695
End
Begin VB.Label lblLabels
Caption = "客户端IP:"
Height = 255
Index = 1
Left = 240
TabIndex = 2
Top = 1800
Width = 1815
End
Begin VB.Label lblLabels
Caption = "客户端ID:"
Height = 255
Index = 0