
zipping/unzipping files from VB Code.
Hello,
there are three approaches that I know of right now. The information below
is taken from other posts and copied here for convenience.
Quote:
> The easiest place to start is http://www.winzip.com/other.htm. There a
free
> download add-on that provides command-line access to zip/unzip. From
C#,
> you can use the System.Diagnostics.Process to execute the command; check
the
> help files for command-line syntax.
> The more encapsulated solution is to incorporate a Zip library such as
> NZipLib at http://www.icsharpcode.net/OpenSource/NZipLib/default.asp
The last approach might be the most convenient -
Quote:
> Hi,
> Let me first apologise for the cross post but this is relevant to all the
> groups I have posted to.
> I have seen many posts looking for compression libraries so I though this
> might help.
> Our company is about to release a native .NET component (written entirely
in
> managed C++) that will give you zip/unzip capability using either streams
or
> disk based files.
> It will also encrypt / decrypt the streams.
> Included are formatters (ZipBinaryFormatter and ZipSoapFormatter) which
will
> give compressed and secure Binary or SOAP comms.
> The finished version will have the ability to create self extracting
> archives but this has been left out for now.
> If anyone wants a copy it can be downloaded at
> www.amalgam-net.com/downloads/ziplib.zip
> Use the news.amalgam-net.com/ziplib newsserver to post bugs / ask
questions
> etc.
> The help file is being finalised and is not included with the download --
> just use the newsgroup for support.
> Please remember that this is compiled for RC and is still a beta. The
retail
> version will be available just as soon as the .NET RTM release is
available.
> Let me thank everyone for their tolerance in this post.
> Thanks
> Andy Haynes
I hope the above information helps.
Thanks!
Mike Wong
Microsoft Developer Support
This posting is provided AS IS with no warranties, and confers no rights.
(c) 2002 Microsoft Corporation. All rights reserved.