📄 frmcon.frm
字号:
VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form frmCon
Caption = "Test Connection"
ClientHeight = 4815
ClientLeft = 60
ClientTop = 345
ClientWidth = 5760
LinkTopic = "Form1"
ScaleHeight = 4815
ScaleWidth = 5760
StartUpPosition = 3 'Windows Default
Begin VB.Timer tmrCon
Enabled = 0 'False
Interval = 500
Left = 5040
Top = 1080
End
Begin MSComCtl2.Animation aniNET
Height = 855
Left = 4800
TabIndex = 13
Top = 120
Width = 735
_ExtentX = 1296
_ExtentY = 1508
_Version = 393216
FullWidth = 49
FullHeight = 57
End
Begin VB.Frame fraCon2
Caption = ".:: Connected to: <Not Connected> ::."
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 3255
Left = 0
TabIndex = 6
Top = 1560
Width = 5775
Begin VB.CheckBox chkEnable
Caption = "Enabled"
Height = 255
Left = 4680
TabIndex = 24
Top = 960
Value = 1 'Checked
Width = 975
End
Begin VB.Frame fraOS
Appearance = 0 'Flat
Caption = ".:: OS Emulation ::."
Enabled = 0 'False
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 1095
Left = 240
TabIndex = 19
Top = 840
Width = 4335
Begin VB.OptionButton optEM
Caption = "Windows 95"
Enabled = 0 'False
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 0
Left = 120
TabIndex = 23
Top = 240
Value = -1 'True
Width = 1455
End
Begin VB.OptionButton optEM
Caption = "Windows 98"
Enabled = 0 'False
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 1
Left = 2280
TabIndex = 22
Top = 240
Width = 1575
End
Begin VB.OptionButton optEM
Caption = "Windows 2000"
Enabled = 0 'False
Height = 375
Index = 2
Left = 120
TabIndex = 21
Top = 600
Width = 1455
End
Begin VB.OptionButton optEM
Caption = "Windows XP"
Enabled = 0 'False
Height = 375
Index = 3
Left = 2280
TabIndex = 20
Top = 600
Width = 1335
End
End
Begin VB.Frame fraClient
Appearance = 0 'Flat
Caption = ".:: Client Emulation ::."
Enabled = 0 'False
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 1095
Left = 240
TabIndex = 14
Top = 2040
Width = 4335
Begin VB.OptionButton optEM
Caption = "Mozilla 0.9.5 (web)"
Enabled = 0 'False
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 7
Left = 2280
TabIndex = 18
Top = 600
Width = 1815
End
Begin VB.OptionButton optEM
Caption = "Opera 5.01 (web)"
Enabled = 0 'False
Height = 375
Index = 6
Left = 120
TabIndex = 17
Top = 600
Width = 1935
End
Begin VB.OptionButton optEM
Caption = "Netscape 6.2 (web)"
Enabled = 0 'False
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 5
Left = 2280
TabIndex = 16
Top = 240
Width = 1935
End
Begin VB.OptionButton optEM
Caption = "IE 6.0 (web)"
Enabled = 0 'False
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 4
Left = 120
TabIndex = 15
Top = 240
Value = -1 'True
Width = 1335
End
End
Begin VB.CommandButton cmdExit
Caption = "Exit"
Height = 375
Left = 4680
TabIndex = 12
Top = 2760
Width = 975
End
Begin VB.CommandButton cmdDisCon
Caption = "Disconnect"
Enabled = 0 'False
Height = 375
Left = 4680
TabIndex = 11
Top = 2160
Width = 975
End
Begin VB.CommandButton cmdSend
Caption = "Send"
Enabled = 0 'False
Height = 375
Left = 4680
TabIndex = 9
Top = 360
Width = 975
End
Begin VB.TextBox txtSend
BackColor = &H00C0C0C0&
Enabled = 0 'False
Height = 285
Left = 1200
TabIndex = 8
Top = 360
Width = 3375
End
Begin VB.Label Label3
Alignment = 1 'Right Justify
Caption = "Send text:"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 120
TabIndex = 7
Top = 360
Width = 975
End
End
Begin VB.Frame fraCon1
Caption = ".:: Connection ::. "
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1215
Left = 0
TabIndex = 0
Top = 120
Width = 4575
Begin VB.CommandButton cmdConnect
Caption = "Connect"
Height = 375
Left = 3480
TabIndex = 5
Top = 720
Width = 975
End
Begin VB.TextBox txtPort
BeginProperty DataFormat
Type = 1
Format = "0"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 1033
SubFormatType = 1
EndProperty
Height = 285
Left = 1200
MaxLength = 5
TabIndex = 2
Top = 720
Width = 615
End
Begin VB.TextBox txtAddr
Height = 285
Left = 1200
TabIndex = 1
Top = 360
Width = 3255
End
Begin VB.Label Label5
Caption = "1 to 65536"
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 1920
TabIndex = 10
Top = 720
Width = 975
End
Begin VB.Label Label2
Alignment = 1 'Right Justify
Caption = "Port:"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 240
TabIndex = 4
Top = 720
Width = 855
End
Begin VB.Label Label1
Alignment = 1 'Right Justify
Caption = "Address:"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 240
TabIndex = 3
Top = 360
Width = 855
End
End
Begin MSWinsockLib.Winsock WS1
Left = 4560
Top = 1080
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
End
Attribute VB_Name = "frmCon"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'-------------------------------------------------------------------------------
' Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -