Re: How to unzip a file ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thank you.

I 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 ?

"Rory Becker" <RoryBecker@xxxxxxxxxxxxxxxx> wrote in message
news:b0ac48a07f908c9444db65c4c90@xxxxxxxxxxxxxxxxxxxxxxx
Thank you.

1. I program in VB.Net 2003, can I use SharpZipLib ?

Yup but you will need to use the Framework V1.1 version

Both versions are available here
http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx but you do
need the 1.0/1.1 version.

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 ?

I don't think I can help you here. I don't use it it the GAC, prefering to
use XCopy deployment and just lumping the dll into my own dir alongside my
exe.

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.

Again I think this is down to using the .Net 2.0 version when you can only
code with .Net 1.1 assemblies and code in VS2003

I hope this helps

--
Rory




.



Relevant Pages

  • Re: Appl. Security Problems
    ... "Steve B." ... If this works for the EXE, then perhaps there's some problem with the DLL ... the key you use to sign your production assemblies ...
    (microsoft.public.dotnet.security)
  • Assembly.LoadFrom("Http://www......
    ... The EXE is an empty shell calling the Sub Main ... Should I include some policy file with the DLL? ... Should I use the "policy deployment package" ... on the requested assemblies. ...
    (microsoft.public.dotnet.security)
  • Re: Newbie to .net framework - what is an .net assembly?
    ... You create your DLL or EXE and distribute it just like ... when you compile your .NET app in VS, it's compiled to IL and not machine ... You can also secure your assemblies ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Appl. Security Problems
    ... When I Release compile the exe and dll' are in one directory on the network. ... the key you use to sign your production assemblies ...
    (microsoft.public.dotnet.security)
  • RE: Registering a custom DLL after deployment - advice?
    ... Register property to vsdraCOM - and leave the output as content ... I added the dll and the tlb and set the build action to ... publishing and invoke the .bat file. ... The custom dll is for the Access ADP. ...
    (microsoft.public.dotnet.languages.csharp)