O'Reilly logo

Microsoft® Visual Basic® .NET Programmer's Cookbook by Matthew MacDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Get Started with ZIP Files

Problem

You need to manipulate compressed ZIP archives, either to retrieve file information from a zip or to compress and uncompress individual files.

Solution

Use a dedicated .NET component, such as the freely reusable #ziplib.

Discussion

There are several commercial components that allow you to work with ZIP files. However, there’s also at least one fully featured and freely redistributable

ZIP component: #ziplib (also known as SharpZipLib), developed by Mike Krueger using a similar open-source Java component. You can download #ziplib with the code samples for this book, or from the Web site http://www.icsharpcode.net/opensource/sharpziplib. This site includes samples in Visual Basic and C# and limited documentation.

To use ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required