压缩文件夹 [英] compress folder

查看:100
本文介绍了压缩文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是英国高中三年级.做IT的学生,我需要知道如何压缩文件夹,
&使用zip文件,因为我的项目需要在zip文件中添加n文件夹中的文件,:)
但是这里没有专业知识,所以是否可以帮助我,因为我的项目在vb中,但是我没有找到知道压缩的任何人
vb中的文件和文件夹... :(
我也想通过添加新文件来编辑现有的zip文件....
我正在使用Visual Studio 2010
如果知道,请帮帮我!!!!

hi ther,

i am, a third year eng. student doing IT i need to know how to compress folder,
& to work with the zip files as my project needs to add files n folder in zip files, :)
but ther''s no artical here so if can any help me out as my project is in vb & i didn''t found any1 who knows compressing
files & folders in vb... :(
Also i want to edit the existing zip files by adding new files....
i am using visual studio 2010
please if any1 knows please help me out!!!!

推荐答案

看看这些链接:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1191472& SiteID = 1 [ ^ ]

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=360956& SiteID = 1 [ ^ ]

http://www.c-sharpcorner.com/UploadFile/scottlysle/CompressFolders04242007124203PM/CompressFolders.aspx [ ^ ]

祝你好运!
Have a look at these links:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1191472&SiteID=1[^]

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=360956&SiteID=1[^]

http://www.c-sharpcorner.com/UploadFile/scottlysle/CompressFolders04242007124203PM/CompressFolders.aspx[^]

Good luck!




请参阅链接...此处使用 SharpZipLib 压缩文件.

http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx [ ^ ]

http://www.vbdotnetheaven.com/uploadfile/scottlysle/compressfoldersvb04262007005440am/compressfoldersvb.aspx [ ^ ]


干杯:)
Hi,

Refer the link...Here using SharpZipLib for Zip a File.

http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx[^]

http://www.vbdotnetheaven.com/uploadfile/scottlysle/compressfoldersvb04262007005440am/compressfoldersvb.aspx[^]


Cheers :)


您可能要检查 [
You may want to check this[^] out. It''s a compression library which supports not only zip, but other compression methods as well. Although the library is written in C#, you can use it in your VB.NET code. If you download the source codes you''ll get some samples as well.

You can use the standard Windows compression as well, but I found it hard to compress multiple files into one zip archive so I recommend using the C# Zip library.

Good luck,

Eduard


这篇关于压缩文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆