导入ie收藏夹.frm
来自「个人VB学习源码精选,自己学习时的一些编程小程序,希望对大家有帮助」· FRM 代码 · 共 73 行
FRM
73 行
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form Form1
Caption = "导入收藏夹"
ClientHeight = 4755
ClientLeft = 60
ClientTop = 345
ClientWidth = 6960
LinkTopic = "Form1"
ScaleHeight = 4755
ScaleWidth = 6960
StartUpPosition = 3 '窗口缺省
Begin MSComctlLib.ListView ListView1
Height = 3885
Left = 90
TabIndex = 2
Top = 135
Width = 6810
_ExtentX = 12012
_ExtentY = 6853
LabelWrap = -1 'True
HideSelection = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 0
End
Begin VB.CommandButton Command2
Caption = "退出"
Height = 330
Left = 5400
TabIndex = 1
Top = 4275
Width = 960
End
Begin VB.CommandButton Command1
Caption = "列出收藏"
Height = 330
Left = 4005
TabIndex = 0
Top = 4275
Width = 960
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim Lindex As Long
Private Sub Command1_Click()
Dim fso As New FileSystemObject
Dim fd As Folder
ListView1.ListItems.Clear
Set fd = fso.GetFolder(GetFavoritesPath())
Lindex = 1
ImportFavorites fd, Lindex
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Form_Load()
ListView1.View = lvwReport
ListView1.ColumnHeaders.Add , , "主 题"
ListView1.ColumnHeaders.Add , , "链 接"
ListView1.ColumnHeaders(2).Width = 5000
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?