如何通过代码解压缩

编程入门 行业动态 更新时间:2024-10-28 09:27:48
本文介绍了如何通过代码解压缩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个文件夹,其中包含许多压缩文件. 我想在VB.NET中构建一个Windows应用程序,该应用程序在文件夹内查找并将文件解压缩到我选择的固定目标.

I have a folder than contains an number of zipped files. I would like to build a Windows application in VB.NET that looks inside the folder and unzips the files to a fixed destination I choose.

推荐答案

问题,没有人阻止您编写所需的程序/代码. 使用 Google [ ^ ]以获得想法并开始编码. CP有此文章 DotNetZip [ ^ ],它说明了如何向应用程序添加解压缩功能. 一旦有了代码并遇到问题,您总是可以带着一个更具体的问题回到这里,社区将竭尽所能为您提供帮助.不要忘了只张贴引起问题的相关代码位,因为代码转储通常根本无法帮助别人帮助/帮助您. 祝你好运,编码愉快. What seems to be the problem, nobody is stopping you writing the program/code you want. Use Google[^] to get ideas and start coding. CP has this article DotNetZip[^] which explains how you can add unzip functionality to your application. Once you have code and run into problems you can always come back here with a more specific question and the community will do its best to help you. Don''t forget to post only the relevant code bits that pose the problem as a code dump is not usually helpful at all in getting someone to help/assist you. Good luck and happy coding.

尝试 MSDN- [System.IO.Packaging命名空间] [ ^ ] MSDN- [ZipPackage类] [ ^ ] Try MSDN-[System.IO.Packaging Namespace][^] MSDN-[ZipPackage Class][^]

检查此代码段 使用C#中的GZipStream类解压缩,解压缩,解压缩文件 check this code snippt Decompress,Extract,Unzip file with GZipStream Class in C#

更多推荐

如何通过代码解压缩

本文发布于:2023-10-30 01:14:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1541331.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:解压缩   代码

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!