Click to See Complete Forum and Search --> : Zip/unzip files in code
enigmaos
August 20th, 2002, 11:03 AM
Does anybody know how to zip/unzip files programmatically without getting "I Agree" screen?
I have checked http://www.winzip.com/xcmdline.htm, but "-min" doesn't work. Also, teh "I Agree" or "Agree" screen shows up.
Thanks!
DSJ
August 20th, 2002, 02:02 PM
Register your software to get a license and that screen goes away.
enigmaos
August 21st, 2002, 11:10 AM
I found this file compression application: 7-Zip
license: Freeware
system: Windows 98/ME/NT/2000/XP
7-Zip is a file archiver with highest compression ratio. The program is fully integrated to Windows Shell, so all archive operations like extracting, compressing and browsing can be executed using usual Windows Explorer. The program supports ZIP, 7z, RAR, CAB, GZIP, BZIP2 and TAR formats and for ZIP format it provides compression ratio that is 2-10 % better than ratio provided by any other zip compatible compression tools, like PKZip and WinZip. There is also additional powerful command line version of program for backup and other purposes.
Download site:
7-zip.org (http://www.7-zip.org/ )
veryjonny
August 25th, 2002, 11:13 AM
I wonder how winxp zip files...without using any third party software and how to invoke it through code.
EBERTSCH
September 13th, 2002, 01:11 PM
Here is the SharpZipLib. The assembely is there as well.
http://www.icsharpcode.net/OpenSource/SharpZipLib/default.asp
It is writen in C# but you can always port it to VB if you know how. Any ways i know it works I personlay use it to Zib Byte stream when send them over the net to reduce the amount of data being sent. Hope this helps you out.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.