Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2005
    Posts
    572

    password in zip file

    i add files to zip file in ZIP.ADD can i know if the zip is protect in password?

  2. #2
    Join Date
    May 2005
    Posts
    1,115
    Well try with Zip.GetContents and then extracting one of the files, if no errorcode, then there is no password protection.
    Last edited by bule; 10-06-2006 at 07:19 AM.
    Never know what life is gonna throw at you.
    (Based on a true story.)

  3. #3
    Join Date
    Oct 2005
    Posts
    572

    my code

    Zip.Extract("c:\\l2nd.lnd", {"*.*"}, "C:\\", true, true, the_pass, ZIP_OVERWRITE_NEVER, nil);
    error = Application.GetLastError();
    if (error == 2639) then
    the_pass = "12345";
    end

    if i push the button i get the error 2639 and if i pus 2 times the button the its work. 2639 is the error to the password????????? or in anuder computer ther is anunde error???????

Similar Threads

  1. Adding Password Protection
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 10-03-2003, 03:25 PM
  2. HOWTO: Create a Project Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 01:49 PM
  3. HOWTO: "Hide" Externally Referenced Files
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-23-2002, 03:19 PM
  4. Replies: 0
    Last Post: 08-17-2000, 02:29 PM

Posting Permissions

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