regards
Michel Posseth
"ReidarT" <rei...@eivon.no> wrote in message
news:eW0F0Nc9...@TK2MSFTNGP12.phx.gbl...
There is a sample in the 101 samples for VB2005 (Compresion)
Which makes that it is only copy and paste
http://msdn.microsoft.com/vstudio/downloads/101samples/default.aspx
I hope this helps,
Cor
Check out the 'System.IO.Compression.GzipStream' class.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
I understand that you need to use some upcoming WinFX API to maintain the
collection of files in a zip.
For example you could use GzipStream to compress WebRequests & WebResponses
"on the fly".
--
Hope this helps
Jay [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Herfried K. Wagner [MVP]" <hirf-spa...@gmx.at> wrote in message
news:e$RVVjc9F...@TK2MSFTNGP14.phx.gbl...
They are in the win fx system.io.packing namespace
Ken
------------------------
"Jay B. Harlow [MVP - Outlook]" <Jay_Har...@tsbradley.net> wrote in
message news:OHl6BYd9...@TK2MSFTNGP14.phx.gbl...
That might be true, but the OP was specifically asking for zipping a single
file ;-).
Does the OP want a file that uses the ZIP compression algorithm, or does he
want a .ZIP file that contains a single file?
I really don't know. When I hear "zip a file" I think of a .ZIP file that
contains a single file. Not a file that uses the ZIP compression algorithm.
--
Hope this helps
Jay [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Herfried K. Wagner [MVP]" <hirf-spa...@gmx.at> wrote in message
news:e7Wx1vg9...@TK2MSFTNGP12.phx.gbl...
I have the same request. I looked and the Compresion and it is pretty much
what I needed except for I also need to password protect the copmressed file.
How could I do that?
Thanks,
Alexis
http://www.icsharpcode.net/OpenSource/SharpZipLib/
it comes with full source and examples in VB and C#
regards
Michel Posseth [MCP]
"Alexis" <Ale...@discussions.microsoft.com> wrote in message
news:BF13542F-6686-4007...@microsoft.com...