Announcement

Collapse
No announcement yet.

Progress BAR with unzip RAR

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Progress BAR with unzip RAR

    Hello, i need make a progress bar, but in the same time the bar up, i need unzip a big rar file, o dont how i make the code, one help please. Thanks

  • #2
    Originally posted by xDoofy92 View Post
    Hello, i need make a progress bar, but in the same time the bar up, i need unzip a big rar file, o dont how i make the code, one help please. Thanks
    One cannot unzip a RAR file. Show us what you have so far
    Bas Groothedde
    Imagine Programming :: Blog

    AMS8 Plugins
    IMXLH Compiler

    Comment


    • #3
      Originally posted by Imagine Programming View Post
      One cannot unzip a RAR file



      come on IP you know that you can even without the shareware plugin developed by ulrich
      at least until rar4 ....
      get the rabbit out of the top hat

      Comment


      • #4
        Originally posted by herrin View Post
        come on IP you know that you can even without the shareware plugin developed by ulrich
        at least until rar4 ....
        get the rabbit out of the top hat
        I think you missed my joke You unRAR a rar, you don't unzip it. You decompress any compressed archive, but unzipping is reserved for the zip format
        Bas Groothedde
        Imagine Programming :: Blog

        AMS8 Plugins
        IMXLH Compiler

        Comment


        • #5
          Hello, what I need is to unpack large files, but when I put a line of code to unzip until everything is finished, it does not happen to the next one, that is, the program freezes and the progress bar does not advance. I need that when I click on a button a progress bar advances, but during that time a large file is being unpacked, I have the code written, but autoplay happens as a batch, until a line of code does not end the next . This is the line of code that I want to add.

          ZipEx.ExtractRAR("AutoPlay\\Ext\\file.rar", "AutoPlay\\Temp", "pass", "");

          Comment


          • #6
            Originally posted by herrin View Post




            come on IP you know that you can even without the shareware plugin developed by ulrich
            at least until rar4 ....
            get the rabbit out of the top hat
            Hey, i want download this. i use ZipEx now.

            Comment


            • #7
              Check, if file.rar is BIG, HUGE, 1GB then delay no next "Progress.SetVisible("Progress1", true);" is slowwww, i need inmediatly, at the same time unrar file and see progress bar. this code go in Show in the PAGE1 for example.

              ZipEx.ExtractRAR("AutoPlay\\Ext\\file.rar", "AutoPlay\\Temp", "pass", "");
              Progress.SetVisible("Progress1", true);
              posicion = 0;
              while posicion ~= 101 do
              Progress.SetCurrentPos("Progress1", posicion);
              Progress.SetText("Progress1", posicion.."%");
              Application.Sleep(10);
              posicion = posicion +1;
              end
              Page.Jump("PAGE2");

              Comment


              • #8
                to have the right progress during the extraction of the rar file we have found no other way than this .....
                the 1.5GB file was compressed with rar5.7


                Code:
                [ATTACH]n304737[/ATTACH]

                Comment


                • #9
                  Originally posted by herrin View Post
                  to have the right progress during the extraction of the rar file we have found no other way than this .....
                  the 1.5GB file was compressed with rar5.7


                  Code:
                  [ATTACH]n304737[/ATTACH]
                  But if i need unrar 5 rar files ??? not only one ???

                  Comment

                  Working...
                  X