Compressing Files thru VB (w/ WinZip)
this codes compresses any files of your choice to a designated target folder using Winzipr..
Inputs
the source folder and files, the target folder with designated zip name (ie. myfile.zip)
Assumes
you have winzip
Side Effects
you will receive an error message if you don't have WinZip
Rate Compressing Files thru VB (w/ WinZip)
(7(7 Vote))
Dim retval As Double
retval = Shell("C:\program files\winzip\WINzip32 -a c:\TargetFolder\AssignedNameFile.zip c:\SourceFolder\SourceFile(s)", 6)
note: i used shell function here.. if anyone has a better idea than of this, pls tell me..
Compressing Files thru VB (w/ WinZip) Comments
No comments yet — be the first to post one!
Post a Comment