README.md

December 5, 2022 ยท View on GitHub

Compressing Files thru VB (w/ WinZip)

Description

this codes compresses any files of your choice to a designated target folder using Winzipr..

More Info

the source folder and files, the target folder with designated zip name (ie. myfile.zip)

you have winzip

you will receive an error message if you don't have WinZip

Submitted On
ByJaeger
LevelUnknown
User Rating3.0 (18 globes from 6 users)
CompatibilityVB 5.0, VB 6.0
CategoryFiles/ File Controls/ Input/ Output
WorldVisual Basic
Archive File

Source Code

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..