F
fniles
In VB.NET 2003 how can you programmatically unzip a ZIP file ?
Thank you.
Thank you.
you.
1. I program in VB.Net 2003, can I use SharpZipLib ?
2. I downloaded both the NET 2.0: Compiled assembly with documentation
and
install scripts and Source code and samples. To install it, do I run
the
installGAC.bat ?
Do I need to create a sub-folder called BIN before I run this bat file
?
Even after creating the BIN folder, when I run this bat file from the
command prompt, I got the error "Failur adding assembly to the cache:
The
system cannot find the file specified". How can I fix this ?
3. When I try to include ICSharpCode.SharpZipLib.dll in the Reference
of my VB.Net project, I got an error : "A reference to
c:\download\zip\ICSharpCode.SharpZipLib.dll could not be added. This
is not a valid assembly or COM component. Only assemblies with
extension 'dll' and COM components can be referenced. Please make sure
that the file is accessible, and that it is a valid assembly or COM
component.
Did you mean to just copy the ICSharpCode.SharpZipLib.dll into the sameI don't use it it the GAC, prefering to use XCopy deployment and just
lumping the dll into my own dir alongside my exe.
Did you mean to just copy the ICSharpCode.SharpZipLib.dll into the
same directory where my VB.Net project is ?
Is there any ZIP library or component that I can use with Framework
2.0 ?
Thank you.
1. I program in VB.Net 2003, can I use SharpZipLib ?
2. I downloaded both the NET 2.0: Compiled assembly with documentation and
install scripts and Source code and samples. To install it, do I run the
installGAC.bat ?
Do I need to create a sub-folder called BIN before I run this bat file ?
Even after creating the BIN folder, when I run this bat file from the
command prompt, I got the error "Failur adding assembly to the cache: The
system cannot find the file specified". How can I fix this ?
3. When I try to include ICSharpCode.SharpZipLib.dll in the Reference of my
VB.Net project, I got an error : "A reference to
c:\download\zip\ICSharpCode.SharpZipLib.dll could not be added. This is not
a valid assembly or COM component. Only assemblies with extension 'dll' and
COM components can be referenced. Please make sure that the file is
accessible, and that it is a valid assembly or COM component.
Thank you.
fniles said:In VB.NET 2003 how can you programmatically unzip a ZIP file ?
I would like to use the .NET 2.0 System.IO.Compression.
From the MSDN website at
http://msdn2.microsoft.com/en-us/library/system.io.compression.gzipstr
eam(vs.80).aspx
the example shows how to compress then decompress a file.
When decompressing, it is not clear from the example how can I pass
the file
name to GZipStream ? The example passes "ms" (a memorystream) to
GZIPStream,
not a file name. How can I pass the file name to GZIPStream ?
fniles said:I would like to use the .NET 2.0 System.IO.Compression.
Herfried K. Wagner said:I thought you are using VS.NET 2003. Note that VS.NET 2003 is tied to
.NET 1.1 and cannot be used together with .NET 2.0.
fniles said:Sorry, I just installed VS.NET 2005.