📄 form1.frm
字号:
VERSION 5.00
Object = "{48E59290-9880-11CF-9754-00AA00C00908}#1.0#0"; "MSINET.OCX"
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form Form1
Caption = "获得指定网页的源代码"
ClientHeight = 4335
ClientLeft = 60
ClientTop = 345
ClientWidth = 5130
LinkTopic = "Form1"
ScaleHeight = 4335
ScaleWidth = 5130
StartUpPosition = 1 '所有者中心
Begin VB.CommandButton Close
Caption = "退出"
Height = 492
Left = 1560
TabIndex = 6
Top = 3720
Width = 1452
End
Begin VB.Frame Frame2
Height = 2412
Left = 120
TabIndex = 4
Top = 1200
Width = 4812
Begin RichTextLib.RichTextBox HTML
Height = 2055
Left = 120
TabIndex = 5
Top = 240
Width = 4575
_ExtentX = 8070
_ExtentY = 3625
_Version = 393217
Enabled = -1 'True
ScrollBars = 2
TextRTF = $"Form1.frx":0000
End
Begin InetCtlsObjects.Inet Inet1
Left = 3960
Top = 1560
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
End
End
Begin VB.Frame Frame1
Height = 975
Left = 120
TabIndex = 2
Top = 120
Width = 4812
Begin VB.CommandButton GetIt
Caption = "获得源代码"
Default = -1 'True
Height = 372
Left = 3480
TabIndex = 1
Top = 360
Width = 1215
End
Begin VB.TextBox URL
Alignment = 2 'Center
Height = 285
Left = 1080
TabIndex = 0
Top = 360
Width = 2292
End
Begin VB.Label Label1
Caption = "网页地址:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 252
Left = 120
TabIndex = 3
Top = 360
Width = 972
End
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Close_Click()
Unload Me
End Sub
Private Sub GetIt_Click()
Dim Strsource As String
Strsource = Inet1.OpenURL(URL.Text)
HTML.Text = Strsource
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -