Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

does anyone know how to unzip a file using vb 2008 which could be located in 'C:\' for this example? please let me know. i am really stuck with this task and have no idea how to do it.

thanks to any hepers
Posted

1 solution

You could use the #ziplib library. http://www.icsharpcode.net/opensource/sharpziplib/[^]
 
Share this answer
 
Comments
hamza_786 17-Sep-10 14:56pm    
hi,

that is a useful link but i wanted to write the code in vb.net soi know what it means. do you know any vb.net code?
Marc A. Brown 17-Sep-10 15:04pm    
The #ziplib assembly is written in C# but it's an assembly. You can use it in your VB.NET application like any other .NET assembly.
Marc A. Brown 17-Sep-10 15:08pm    
... or am I failing to understand what you're wanting to do? I thought you needed to extract the contents of a ZIP file from your VB.NET application. Is that what you're wanting? If so, then my answer will do what you need. Or are you looking at writing your own ZIP/UNZIP routines?
hamza_786 17-Sep-10 15:39pm    
i want to write my own zip/unzip routines
Marc A. Brown 17-Sep-10 15:55pm    
Ah, ok. Sorry for the misunderstanding.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900