Results 1 to 8 of 8

Thread: [RESOLVED] Winzip 9.0 AES Encryption

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Posts
    5

    Resolved [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

  2. #2

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Posts
    5

    Re: Winzip 9.0 AES Encryption

    Thanks for your help Martin!

    I am using Visual Basic 6.0 and Microsoft Access 2003.

  4. #4

  5. #5

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Posts
    5

    Re: Winzip 9.0 AES Encryption

    Thank You!

  6. #6
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    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)
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  7. #7

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Posts
    5

    Re: Winzip 9.0 AES Encryption

    Hi Lavolpe,

    It's Working !! Thank you so much for your timely help!

    You are a Star!!

  8. #8
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width