1. Herfried K. Wagner’s VB.Any
  2. .NET
  3. Frequently Asked Questions

Compressing files and data

Compressing files and data
<URL:https://dotnet.currifex.org/dotnet/faqs/compression/en/>
----------------------------------------------------------------------------

Compressing files and data

CAB format:

Microsoft Cabinet Software Development Kit
<URL:http://support.microsoft.com/?scid=kb;EN-US;310618>

You can build CAB files using the Windows' "MAKECAB.EXE" utility.  For
extracting CAB files, you can use Microsoft's "EXTRACT.EXE", which is
available on the Windows XP CD or as part of the Windows XP Support Tools:

Windows XP Service Pack 2 Support Tools
<URL:http://www.microsoft.com/downloads/details.aspx?familyid=49ae8576-9bb9-4126-9761-ba8011fabf38>

Alternatively you can use p/invoke with 'SetupIterateCabinet'.  A sample
for Visual Basic 6.0 can be found here:

View and Extract CAB File Contents Programmatically
<URL:http://www.thescarms.com/vbasic/CabExplorer.asp>

ZIP format and other archive formats:

.NET 2.0 contains ZIP support in the namespace 'System.IO.Compression':

.NET System.IO.Compression and zip files
<URL:http://blogs.msdn.com/dotnetinterop/archive/2006/04/05/567402.aspx>

Using GZipStream for Compression in .NET [Brian Grunkemeyer]
<URL:http://blogs.msdn.com/bclteam/archive/2005/06/15/429542.aspx>

Since .NET 3.0 manipulation of ZIP files following the Open Packaging
Conventions is included within the .NET Framework:

'ZipPackage' Class ('System.IO.Packaging')
<URL:http://msdn2.microsoft.com/en-us/library/system.io.packaging.zippackage.aspx>

Using J#'s ZIP functionality:

Using the Zip Classes in the J# Class Libraries to Compress Files and Data
with C#
<URL:http://msdn.microsoft.com/msdnmag/issues/03/06/zipcompression/>

Using Windows' built-in ZIP support:

Compress Zip files with Windows Shell API and C#
http://www.codeproject.com/KB/cs/compresswithwinshellapics.aspx 

The Zip, GZip, BZip2 and Tar Implementation For .NET
<URL:http://www.icsharpcode.net/OpenSource/SharpZipLib/>

zlib Home Site
<URL:http://www.gzip.org/zlib/>

ComponentOne Zip™ for .NET
<URL:http://www.componentone.com/products.aspx?TabTypeID=1&ItemType=1&PanelIndex=14&ItemID=53569&SubCategoryTypeID=0&TabMapID=57&TabID=70>