Properties |
aspEasyZip
object Last modified : September 3, 2001 © 2001 MITData. All rights reserved. |
Properties |
Name | Description | ||||||||||||||||||||||||||||
ZipFileName | You must specified the name of the file to Zip or
UnZIp. ( with full path ) returns a WideString - Read / Write |
||||||||||||||||||||||||||||
Version | Returns de version of the component and the version of
the zip / unzip libraries returns a WideString - Read only |
||||||||||||||||||||||||||||
Debug | Sets the component in debug mode, when you made any
operation then it displays on the screen. Default is set to False. returns a WordBool - Read / Write |
||||||||||||||||||||||||||||
ExtrBaseDir | This base directory applies only to UnZIP operations. The component will make this directory the current directory before extracting any files. If you don't specify a value for this property, then the directory of the ZipFile itself will be the base directory for extractions. | ||||||||||||||||||||||||||||
SuccessCNT | Number of files that were successfully operated when
you call ZIP or UNZIP method. returns an Integer - Read only |
||||||||||||||||||||||||||||
Error | Number of the error when you call the ZIP or UNZIP
method, it return 0 for no errors returns an Integer - Read only List of comom errors:
|
||||||||||||||||||||||||||||
LastMessage 1.01 |
Returns the explanation of the last
action, if you get an error on the last action performed then you will get
a brief explanation with that function of what happened. returns a String - Read only |
||||||||||||||||||||||||||||
Version 2.0 properties | |||||||||||||||||||||||||||||
AddOptions 2.0 |
AddOptions is a Set of options to modify the default action of the Add method.
Example: Zip.AddOptions = AddDirNames + AddRecurseDirs AddZipTime ( value = 2 ) AddRecurseDirs ( value = 4 ) AddHiddenFiles ( value = 8 ) AddEncrypt ( value = 16 ) AddSeparateDirs ( value = 32 ) AddMove ( value = 256 ) AddFreshen ( value = 1024 ) AddUpdate ( value = 2048 ) returns/set an Integer - Read / Write |
||||||||||||||||||||||||||||
ExtrOptions 2.0 |
ExtrOptions is a Set of Options used to modify the default actions of the Extract method. ExtrDirNames ( value = 1 ) Extracts and recreates the relative pathname that may have been stored with each file. Empty directories stored in the archive (if any) will also be recreated. ExtrOverWrite (
value = 2 ) ExtrFreshen (
value = 4 ) ExtrUpdate (
value = 8 ) ExtrTest (
value = 16 ) returns/set an Integer - Read / Write |
||||||||||||||||||||||||||||
NVersion 2.0 |
Returns de version of the component. returns a Integer - Read only |
||||||||||||||||||||||||||||
Version 2.1 properties | |||||||||||||||||||||||||||||
Temp 2.1 |
Temp is the path and directory that will be used instead of the default temporary directory.
The default temporary directory when zipping and unzipping is the same
directory as where the zipfile is located.
Remember to set write permissions to the directory returns/set a String - Read / Write |
||||||||||||||||||||||||||||
Version 2.2 ( 09/01/2001) properties | |||||||||||||||||||||||||||||
RootDir 2.2 |
RootDir sets the base directory for relative
path file specifications. The RootDir property determines where zipping will start for any filenames or wildcard entries in the ArgsAdd method.
This will add the file “D:\Program Files\Start\Dir1\MyFile.htm” as “Dir1\MyFile.html” and all files “D:\Program Files\Start\*.h” as “*.h” to the zip archive. returns/set a String - Read / Write |
||||||||||||||||||||||||||||
Version 2.0 properties ( PROFESSIONAL ) | |||||||||||||||||||||||||||||
Password 2.0 |
Password is the password used when encrypting or decrypting a Zip archive.
It must be set before using any method. sets a String - Write Only |
||||||||||||||||||||||||||||
SFXCaption 2.0 |
Is the caption of the SFX dialog box when you start executing a .EXE archive. sets a String - Write Only |
||||||||||||||||||||||||||||
SFXCommandLine 2.0 |
Can contain a command line to execute after extracting the executable.
Special symbols: |
||||||||||||||||||||||||||||
SFXDefaultDir 2.0 |
The directory that will be used by the executable when extracting.
If you specify the special symbol >< here, then the user’s temporary |
||||||||||||||||||||||||||||
SFXOptions 2.0 |
Set of options used to modify the default actions of the ConvertSFX method.
SFXAskCmdLine (
value = 1 ) SFXAskFiles (
value = 2 ) SFXAutoRun (
value = 4 ) SFXCheckSize (
value = 8 ) SFXHideOverWriteBox (
value = 16 ) returns/set an Integer - Read / Write |
||||||||||||||||||||||||||||
SFXHideOverWriteBox 2.0 |
Sets the the action for what the SFX program is supposed to do if it finds files that already exist. OvrConfirm ( value = 1 ) Ask user when each file is found (The default). OvrAlways (
value = 2 ) OvrNever (
value = 4 ) returns/set an Integer - Read / Write |
||||||||||||||||||||||||||||
SFXBinPath 2.32 |
Sets the binary file to use when creating
exe file, actually the are two version, English and German languages.
returns/set a String - Read / Write |
||||||||||||||||||||||||||||