|
-
Jul 10th, 2023, 04:09 PM
#1
Thread Starter
Member
VB6 extract files from a winzip created zip file.
Using code that I found here at VBForums I am trying to extract a zip file.
The posting says that all I have to do is include cZipArchive.cls in the project.
I downloaded and included the file as a class module.
The form is one button with the following code.
Private Sub Command1_Click
With New cZipArchive '<----- Module is Not a valid type.
.OpenArchive App.Path & "\test.zip"
.Extract "C:\Path\To\extract_folder"
End With
end sub
I ended up including mdGlobals.bas as a module.
Could someone please explain what I am doing wrong, please?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|