📄 form1.frm
字号:
Left = 1680
TabIndex = 58
Top = 2640
Width = 1335
End
Begin VB.CommandButton V_CmdStopScan
Caption = "停止扫描"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3120
TabIndex = 39
Top = 2640
Width = 1335
End
Begin VB.TextBox V_TxtThreadCount
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 3240
TabIndex = 35
Text = "1000"
Top = 1800
Width = 975
End
Begin VB.ListBox V_ListIP
Height = 2940
ItemData = "Form1.frx":19A4
Left = 120
List = "Form1.frx":19A6
TabIndex = 28
Top = 3240
Width = 4335
End
Begin VB.CommandButton V_CmdStartScan
Caption = "开始扫描"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 120
TabIndex = 29
Top = 2640
Width = 1455
End
Begin VB.OptionButton V_OptScanTcp
Caption = "tcp"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1320
TabIndex = 30
Top = 1800
Width = 855
End
Begin VB.OptionButton V_OptScansyn
Caption = "syn"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 360
TabIndex = 31
Top = 1800
Width = 735
End
Begin VB.TextBox V_TxtEndIP
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1320
TabIndex = 32
Text = "121.16.50.255"
Top = 1080
Width = 2535
End
Begin VB.TextBox V_TxtStartIp
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1320
TabIndex = 33
Text = "121.16.0.1"
Top = 360
Width = 2535
End
Begin VB.Frame Frame5
Caption = "扫描方式"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 120
TabIndex = 34
Top = 1560
Width = 4335
Begin VB.Label Label8
Caption = "线程:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 2160
TabIndex = 38
Top = 360
Width = 735
End
End
Begin VB.Label Label10
Caption = "起始IP:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 27
Top = 480
Width = 975
End
Begin VB.Label Label9
Caption = "结束IP:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 26
Top = 1080
Width = 975
End
End
Begin VB.Frame Frame1
Caption = "扫描方式"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 600
TabIndex = 6
Top = 1680
Width = 4335
Begin VB.Label Label3
Caption = "线程:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 2160
TabIndex = 36
Top = 360
Width = 735
End
End
Begin VB.Frame S扫描模块
Caption = "S扫描模块"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 6615
Left = 480
TabIndex = 9
Top = 120
Width = 4575
Begin VB.CommandButton CmdTidySave
Caption = "整理并保存"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1680
TabIndex = 59
Top = 2640
Width = 1335
End
Begin VB.CommandButton CmdStopScan
Caption = "停止扫描"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3120
TabIndex = 37
Top = 2640
Width = 1335
End
Begin VB.Label Label2
Caption = "结束IP:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 11
Top = 1080
Width = 975
End
Begin VB.Label Label1
Caption = "起始IP:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 10
Top = 480
Width = 975
End
End
End
Begin VB.TextBox Text2
Height = 6255
Left = 1080
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 20
Text = "Form1.frx":19A8
Top = 480
Visible = 0 'False
Width = 6375
End
End
Attribute VB_Name = "Frm_Main"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim Timercount As Integer
Dim SendSpace As Integer
'Dim V_TimerCount As Integer
Dim V_SendSpace As Integer
Dim Scan135 As Boolean
Private Sub CmdOpenNTscan_Click()
Scan135 = True
'========================释放NTscan=====================
Dim NTIP As String
Dim NTexe() As Byte
Dim NTexeIndex As Long
Dim i As Integer
NTexe = LoadResData(102, "CUSTOM")
If Dir(App.Path & "\NTSCAN.exe") = "" Then
Open App.Path & "\NTSCAN.exe" For Binary As #1
For NTexeIndex = 0 To FILENTSIZE - 1
Put #1, , NTexe(NTexeIndex)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -