Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2002
    Location
    france
    Posts
    94

    how to have a progression show while adding files to a zip archive ?

    i would like to know if there is a way to show some kind of progress bar or a percentage of completion, when adding files to a zip archive ? I managed to add a function that show a timed message before adding files and another when it's finished, that' all !

    my users will add files to a listbox before making a zip file, so i don't know in advance how many they'll add.

    Of course, i could count files in the listbox, but even if i make a kinda loop how will i know wich file is currently zipped.

    thanks in advance (again !)

    claude

  2. #2
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    Code:
    -- Show the status dialog.
                StatusDlg.Show();
                -- Extract the contents of the Zip file.
                Zip.Extract("AutoPlay\\Docs\\Info.zip", {"*.*"}, target_folder, true, true, "", ZIP_OVERWRITE_NEVER, nil);
    
                -- Check the error code for the last action.
                error = Application.GetLastError();
    
                -- Hide the status dialog.
                StatusDlg.Hide();

Similar Threads

  1. Error 3038: Could not seek in compressed file
    By Rikard in forum Setup Factory 7.0
    Replies: 2
    Last Post: 05-25-2006, 11:55 AM
  2. Example: Hiding Resources in Password Protected ZIP Files
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 1
    Last Post: 03-18-2005, 08:53 AM
  3. 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
  4. 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

Posting Permissions

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