zipdll.bas

来自「用VB调用ZIP.dll和unzip.dll实现文件的压缩和解压缩。」· BAS 代码 · 共 20 行

BAS
20
字号
Attribute VB_Name = "ZipDll"
'==============================================================================
'Richsoft Computing 2001
'Richard Southey
'This code is e-mailware, if you use it please e-mail me and tell me about
'your program.
'
'For latest information about this and other projects please visit my website:
'www.richsoftcomputing.btinternet.co.uk
'
'If you would like to make any comments/suggestions then please e-mail them to
'richsoftcomputing@btinternet.co.uk
'==============================================================================

'Declarations of the library functions
Public Declare Function AddFile Lib "zipit.dll" (ByVal ZipFilename As String, ByVal Filename As String, ByVal StoreDirInfo As Boolean, ByVal DOS83 As Boolean, ByVal Action As Integer, ByVal CompressionLevel As Integer) As Boolean
Public Declare Function ExtractFile Lib "zipit.dll" (ByVal ZipFilename As String, ByVal Filename As String, ByVal ExtrDir As String, ByVal UseDirInfo As Boolean, ByVal Overwrite As Boolean, ByVal Action As Integer) As Boolean
Public Declare Function DeleteFile Lib "zipit.dll" (ByVal ZipFilename As String, ByVal Filename As String) As Boolean

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?