[RESOLVED] Winzip 9.0 AES Encryption
Hi All,
I am looking for a solution to programmatically enforce AES 256 bit Encryption standard while compressing file using Winzip 9.0.
I am using the following code to zip the source file:
Call Shell("C:\Program Files\WinZip\winzip32 -min -a -s" & """" & Passwd & """" & " " & """" & Left(Fname, Len(Fname) - 4) & ".zip" & """" & " " & """" & Fname & """", vbHide).
The choice here for Encryption standard is the default one set in winzip 9.0 application. If we want to choose AES 256 bit encryption, then we need to manually set the option before using the above code. What I am looking for is to enforce the option programmatically.
Can we supply any argument in the above code to achieve this?
Any help is truly appreciated!
Many thanks :)
Abu13
Re: Winzip 9.0 AES Encryption
http://www.vbforums.com/attachment.p...id=47243&stc=1
Forum Feedback is meant for questions/comments about VB Forums. If you let me know what language you are using I'll move your thread to the proper forum.
Re: Winzip 9.0 AES Encryption
Thanks for your help Martin!
I am using Visual Basic 6.0 and Microsoft Access 2003.
Re: Winzip 9.0 AES Encryption
Re: Winzip 9.0 AES Encryption
Re: Winzip 9.0 AES Encryption
Do these two links help?
1. Using the command line tool
2. Using code (sample is not VB6 though)
Re: Winzip 9.0 AES Encryption
Hi Lavolpe,
It's Working !! Thank you so much for your timely help!
You are a Star!!
Re: Winzip 9.0 AES Encryption
Now that we've helped you, you can help us by pulling down the Thread Tools menu and selecting the Mark Thread Resolved item which will let everyone know that you have your answer. Also if someone has been particularly helpful you have the ability to affect a their forum "reputation" by rating their post. Only those ratings that you give after you have 20 posts will actually count, but in all cases the person you rate will see it and know that you appreciate their help.