📄 module1.bas
字号:
Attribute VB_Name = "Module1"
Public mHZtoSM As cHztoSM
Public songPath As String
Public conn As String
Public nn As String
Sub Main()
Dim strFileName As String
strFileName = "System.ini" 'set this to the file you want created
strMySystemFile = App.Path & "\" & strFileName
Load songManger
songManger.Show
songPath = ReadFromFile("set", "songPath")
End Sub
'删除文件夹下子目录及文件
Public Function KillFolder(ByVal FullPath As String) As Boolean
'EXAMPLE: `KillFolder("D:\MyOldFiles")
On Error Resume Next
'Dim oFso As New Scripting.FileSystemObject
Set oFso = CreateObject("Scripting.FileSystemObject")
If Right(FullPath, 1) = "\" Then FullPath = Left(FullPath, Len(FullPath) - 1)
If oFso.FolderExists(FullPath) Then
oFso.DeleteFolder FullPath, True
KillFolder = Err.Number = 0 And oFso.FolderExists(FullPath) = False
End If
End Function
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -