by Jaeger (2 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (6 Votes)
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
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..