Thanks Pete!
If this is the case, is there any class/way in .NET Framework 2.0 I can use
to decompress the winzip files without using the third party utilities?
Mike
> [...]
> > The zip file I am using for testing was compressed by winzip and nothing
[quoted text clipped - 9 lines]
>
> Pete
Peter Duniho - 30 Jul 2007 18:11 GMT
> Thanks Pete!
>
> If this is the case, is there any class/way in .NET Framework 2.0 I can use
> to decompress the winzip files without using the third party utilities?
There is a sort of hack that involves using the Windows shell to
decompress zip files. There's no direct API in .NET, but Windows
Explorer does support creating and decompression .zip files, and you can
get at that functionality through some form of automation of the shell.
I don't recall the specifics, but Google can probably help you find
them. I'm pretty sure I saw one implementation on codeproject.com.
Pete
John Mott - 30 Jul 2007 18:25 GMT
The J# library can actually read and write zip files, although you have to
pull in a lot of Java types to use it.
I've been very happy with the C# SharpZipLib, which is free and seems to
work well. There are samples in the download but I'm thinking of putting
some up so they will be on the web.
http://www.icsharpcode.net/OpenSource/SharpZipLib/
john
> Thanks Pete!
>
[quoted text clipped - 20 lines]
>>
>> Pete