philiplcp Posted January 16, 2005 Posted January 16, 2005 Recently, I need develop an vb.net application for compress a folder to .zip file and I use SharpZipLib to archieve that, but I don't know how to use this library to compress a folder, does anyone can give me some idea to solve my problem. thx :D Quote
Administrators PlausiblyDamp Posted January 16, 2005 Administrators Posted January 16, 2005 I would imagine that you would need to loop through each file in the folder and add them in turn to the archive Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
philiplcp Posted January 17, 2005 Author Posted January 17, 2005 I would imagine that you would need to loop through each file in the folder and add them in turn to the archive thx PlausiblyDamp :D Quote
Wraith Posted January 17, 2005 Posted January 17, 2005 Be careful to convert the paths from \ seperated to / seperated otherwise you won't get folder structure back when you unzip. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.