Question:
Is there any way in Visual Basic code and using your zip ActiveX to checks if a possible zip passwords is correct without having to call one of your unzip methods? I simply want to write a routine that will check if the zip password a user types into a textbox is the correct password for a zip file without having to unzip any of the files inside the zip file.
Answer:
Yes, to open a password-protected or AES encrypted Zip, you must first call zipObject.SetPassword prior to calling zipObject.OpenZip. The OpenZip method will fail if the incorrect password is provided.