Groups | Blog | Home
all groups > dotnet sdk > may 2005 >

dotnet sdk : Zip/Compress the file through programming (VB.Net)



Hardik Shah
5/7/2005 12:00:00 AM
Hello,

I want to zip/compress some files using VB.Net , How can I ?


Thanks in advance.


Hardik Shah

Joerg Jooss
5/7/2005 2:07:33 AM
[quoted text, click to view]

If you use .NET 1.x, you have to use a third party library like
http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx.

..NET 2.0 includes compression classes in the System.IO.Compression
namespace.

Cheers,
--
http://www.joergjooss.de
Joerg Jooss
5/14/2005 10:59:33 AM
[quoted text, click to view]

As I said, this is a .NET 2.0 feature. See
http://msdn2.microsoft.com/library/3z72378a(en-us,vs.80).aspx

It currently only contains classes for gzip and deflate compression, so
if you're looking for something compatible to WinZip, use SharpZipLib.

Cheers,
--
http://www.joergjooss.de
Loane Sharp
5/14/2005 7:34:09 PM
Hi there

I can't find anything on the System.IO.Compression namespace on MSDN.

Am I overlooking something?

Best regards
Loane


[quoted text, click to view]

Loane Sharp
5/15/2005 12:00:00 AM
thanks very much

[quoted text, click to view]

AddThis Social Bookmark Button