C# Tutorial - Zip file & Zip folder | FoxLearn

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • How to Compress/Zip File Folder using DotNetZip, progress bar in C# Windows Forms Application. The C# Basics beginner course is a free C# Tutorial Series that helps beginning programmers learn the basics of the C# Programming Language
    Website: foxlearn.com
    create zip file folder c#
    Create zip file from all files in folder
    How to create zip file of a folder using C#.Net
    C# Program to create a zip file from complicated directory structure
    c# create zip file multiple files
    convert folder to zip in c#
    c# zip single file
    c# add files to zip
    how to extract zip file in c# windows application
    how to convert text file to zip file in c#
    how to create zip folder using c#
    [C# Tricks] 1 Compress and Extract Files Using C#
    Reading and Writing Compressed Files using C#
    C# - Zipping Directories
    How to compress files using c# codeproject
    c# compression
    compression c#

Комментарии • 88

  • @Loke101
    @Loke101 Год назад

    Im getting this error message: Error CS1061 'ZipProgressEventArgs' does not contain a definition for 'EntriesSavedCount' and no accessible extension method 'EntriesSavedCount' accepting a first argument of type 'ZipProgressEventArgs' could be found (are you missing a using directive or an assembly reference?)

  • @IamJasiek
    @IamJasiek Год назад

    why if(e.EventType not working?

  • @lordofdark2258
    @lordofdark2258 Год назад

    How to zip file to split file zip to parts

  • @fabifna
    @fabifna 4 года назад +1

    I have the problem that
    zip.SaveProgress += Zip_SaveProgress;
    is red underlined. idk what to do, can anyone help me? btw i have installed everything needed like NuGet pack

    • @renataszabo852
      @renataszabo852 3 года назад

      Same, do u have any answer for that?

    • @fabifna
      @fabifna 3 года назад

      @@renataszabo852 unfortunately no sorry for this one

  • @SKIDDOW
    @SKIDDOW 4 года назад +4

    Nice tuto. but in 2019 we need to try,
    System.IO.Compression
    It has higher compression ratio than DotNetZip

  • @FleynSoft
    @FleynSoft 6 лет назад +1

    can you put a music more boaring.. naaah. thank you for the tutorial !! :)

  • @karimhamrouni465
    @karimhamrouni465 4 года назад

    Of course you have to make this complicated instead of making a simple form you have to add progress bars instead of just giving us the source and explaining it you could litteraly make this video 3 minutes long but noo you had to make things complicated didn't you

  • @jevgenijkononov7422
    @jevgenijkononov7422 7 лет назад

    Check saving. string.Format("{0}\\{1}.zip", di.Parent.FullName, di.Name) need to add {0}\\{1}

  • @vitorsouza2269
    @vitorsouza2269 3 года назад

    Hello, when I use Zip.Save(), It compresses the entire directory, i want to save just the file. I need a lot of help

  • @rayt6867
    @rayt6867 3 года назад

    Hello and many thanks, I have tried many times to put a message that says the zip ended to no avail. How to show a message when the zip operation ends?

  • @theonlyrealoofyfi
    @theonlyrealoofyfi Год назад

    Can i get the source code for this project? please :(

  • @Eduardovsky
    @Eduardovsky 3 года назад

    you should do unzip with progressbar

  • @arunprasath7750
    @arunprasath7750 2 года назад

    Would it be possible to get the source code for this project.

  • @naufalez
    @naufalez 2 года назад

    Is posible to zip multiple file?

  • @classiciranian
    @classiciranian 3 года назад

    I wish you would put the source code of this software as well

  • @dohanyyousry557
    @dohanyyousry557 4 года назад

    i cant get DotNetZip
    i use v s 2012

  • @abdulHadiarbi
    @abdulHadiarbi 2 года назад

    can u plz share the source code.

  • @idiotflextech4273
    @idiotflextech4273 2 года назад

    Can I have the source code?

  • @mahdi_sharifi
    @mahdi_sharifi 2 года назад

    Very good ♥️👏

  • @danabonalla5197
    @danabonalla5197 8 лет назад

    Hey I'm having some problem when zipping folders, zipping files are okay with me. Zipping folders just doesn't completes its task. Any help?

    • @foxlearn
      @foxlearn  8 лет назад

      Hi, What error are you getting? thanks

    • @danabonalla5197
      @danabonalla5197 8 лет назад

      Thank you for replying. I created a new folder and whenever I zip a folder the execution just freezes, this folder has no file in it btw i'm just testing if it does zip a folder. It stays at about 90% and freezes.

  • @ivanarango8527
    @ivanarango8527 7 лет назад

    thank you very much, you really saved me :D

  • @professoryousif
    @professoryousif 4 года назад

    Please explain how to install the programs with the progress bar? How to add programs to the progress bar

    • @mariolukacic3568
      @mariolukacic3568 3 года назад +1

      You must learn basics of c# programming first

    • @professoryousif
      @professoryousif 3 года назад

      @@mariolukacic3568 thank you very much my friend.

    • @professoryousif
      @professoryousif 3 года назад

      thank you very much my friend.

    • @professoryousif
      @professoryousif 3 года назад

      My friend, you did not understand what I mean, I mean it is the software installation feature

    • @mariolukacic3568
      @mariolukacic3568 3 года назад

      @@professoryousif you can use windows installer class docs.microsoft.com/en-us/dotnet/api/system.configuration.install?view=netframework-4.8

  • @manjeetnandal1
    @manjeetnandal1 5 лет назад

    Many useful!
    Great thanks!

  • @martinrages226
    @martinrages226 4 года назад

    How can I unzip a folder?

    • @foxlearn
      @foxlearn  4 года назад

      I think you can unzip the zip file

    • @octanepennsut4349
      @octanepennsut4349 4 года назад

      @@foxlearn Great tut. You should make a tutorial on a Unzipper.

  • @DSMTurboAWD
    @DSMTurboAWD 7 лет назад

    Would it be possible to get the source code for this project. Awesome tutorial.

  • @Noss454
    @Noss454 6 лет назад

    zip.Password = "password"; Doesnt work :(

    • @foxlearn
      @foxlearn  6 лет назад

      OK, Let's me check again. Thank you

    • @Noss454
      @Noss454 6 лет назад

      stackoverflow.com/questions/40115705/set-password-on-zip-file-using-dotnetzip/40116091

    • @Noss454
      @Noss454 6 лет назад

      Did you check ?

  • @fuhrerwolf1755
    @fuhrerwolf1755 7 лет назад

    please send source code

  • @Дигидроген
    @Дигидроген 3 года назад

    Where I can download dotnetzip?

  • @sil3ntgam3r.
    @sil3ntgam3r. 7 лет назад

    I get this error when zipping a big folder:
    An unhandled exception of type 'Ionic.Zip.ZipException' occurred in DotNetZip.dll
    Additional information: Compressed or Uncompressed size, or offset exceeds the maximum value. Consider setting the UseZip64WhenSaving property on the ZipFile instance.
    What do i need to do to fix this?