For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > December 2007 > Zip an entire directory tree









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Zip an entire directory tree
Schultz

2007-12-25, 4:26 am

Is there a way to programmatically zip an entire directory (and
maintain all sub-directories and files) using Visual Studio.NET 2008
in VB?

*Preferably using SharpZipLibrary or the .NET Framework itself; No
third-party at-cost options please.

Thanks
Peter Bromberg [C# MVP]

2007-12-25, 7:16 pm

This article shows code that will zip the entire Favorites folder and all
subfolders, with ICSharpCode.Ziplib:

http://www.eggheadcafe.com/articles/20041210.asp
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com


"Schultz" wrote:

> Is there a way to programmatically zip an entire directory (and
> maintain all sub-directories and files) using Visual Studio.NET 2008
> in VB?
>
> *Preferably using SharpZipLibrary or the .NET Framework itself; No
> third-party at-cost options please.
>
> Thanks
>

Abenceter51

2007-12-27, 4:15 am

http://www.thetubebender.com/Play?id=726648
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com