MiniZip.cls , vb6 unzip File Class by zlibwapi.dll
code from here ,and add more functions
How to unpack a ZIP file using the library zlibwapi.dll ?-VBForums
code from here ,and add more functions
How to unpack a ZIP file using the library zlibwapi.dll ?-VBForums
Code:
get file byte array from zip child file ,without save to disk.
Function ReadFileByte(ByVal zipChildFileName As String, Buffer() As Byte) As Boolean
end function
Function UnzipAll(Folder As String) As Boolean 'by xiaoyao #abcd
'unzip all file to a folder
MsgBox "please add code"
End Function
Function UnzipChildFolder(Folder As String) As Boolean 'by xiaoyao #abcd
'unzip a Child Folder from zip a Disk folder
MsgBox "please add code"
End Function
Function UnzipToFile(ByVal zipChildFileName As String) As Boolean
'by xiaoyao #abcd
Dim Ret As Long, Buffer() As Byte
If ReadFileByte(zipChildFileName, Buffer) Then
UnzipToFile = PutToFileBin(zipChildFileName, Buffer)
End If
End Function