📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 6495
ClientLeft = 60
ClientTop = 345
ClientWidth = 8805
LinkTopic = "Form1"
ScaleHeight = 6495
ScaleWidth = 8805
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton cmdNavigate2
Caption = "Navigate2"
Height = 375
Left = 3840
TabIndex = 2
Top = 360
Width = 1335
End
Begin VB.CommandButton cmdRegisterAsBrowser
Caption = "RegisterAsBrowser"
Height = 375
Left = 1920
TabIndex = 1
Top = 360
Width = 1695
End
Begin VB.CommandButton cmdAddressBar
Caption = "AddressBar"
Height = 375
Left = 600
TabIndex = 0
Top = 360
Width = 1095
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim ie As InternetExplorer
Private Sub cmdAddressBar_Click()
Set ie = GetObject("", "InternetExplorer.Application")
ie.AddressBar = True
ie.Visible = True
End Sub
Private Sub cmdNavigate2_Click()
Set ie = GetObject("", "InternetExplorer.Application")
ie.Navigate2 "www.google.com", navNoHistory Or navOpenInNewWindow
ie.Visible = True
End Sub
Private Sub cmdRegisterAsBrowser_Click()
Set ie = GetObject("", "InternetExplorer.Application")
ie.RegisterAsBrowser = True
ie.Visible = True
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -