|
|
Visits:
2990
(47 on line)
|
Last Update: Dec 5, 2003
|
|
|
|
| | |
| Description Inheritance Example Properties Methods |
| |
| Description |
The non visual TAbale5 Object uses the Abale Zip ActiveX Package to zip or unzip files under program control. The Abale Zip ActiveX is delivered with APL+Win Objects. © ELE7mar05 added Note: © ELE7mar05 added The AbaleZip.Dll file must be registered in order for TAbale5 to get instanciated © ELE7mar05 added Normally AbaleZip.dll is properly registered when you install APL+Win Objects 6.0 © ELE7mar05 added If it is not registered, TAbale5 will attempt to register it the first time it is used: © ELE7mar05 added for this to work, AbaleZip.dll MUST be found in the directory which contains the current workspace © ELE7mar05 added |
| Description Inheritance Example Properties Methods |
| |
| Inheritance |
Inherits from: TObject5 |
| Description Inheritance Example Properties Methods |
| |
| Example |
| |
source„'v:\cameleon\cwdev\em\eurowin.w3'
source„source,Œtcnl,Œtclf,'v:\cameleon\echange\bugs.xls'
source„source,Œtcnl,Œtclf,'v:\cameleon\cwdev\les\travaux en cours les.txt'
source„source,Œtcnl,Œtclf,'v:\cameleon\cwdev\the\travaux en cours the.txt'
source„source,Œtcnl,Œtclf,'v:\cameleon\cwdev\mun\travaux en cours mun.txt'
source„source,Œtcnl,Œtclf,'v:\cameleon\cwdev\mel\travaux en cours mel.txt'
dest„'c:\temp\cameleon.zip'
'aba'Œwi'*Create' 'TAbale5'
'aba'Œwi'Zip'source dest
526 At least one 'Warning' event was triggered because a recoverable error.
|
| |
| Description Inheritance Example Properties Methods |
| |
| Properties |
| |
|
| class |
Description: Return current object class
Syntax: class„'obj' Œwi 'class' |
| help |
Example:
source„'v:\cameleon\cwdev\em\eurowin.w3'
source„source,Œtcnl,Œtclf,'v:\cameleon\echange\bugs.xls'
source„source,Œtcnl,Œtclf,'v:\cameleon\cwdev\les\travaux en cours les.txt'
source„source,Œtcnl,Œtclf,'v:\cameleon\cwdev\the\travaux en cours the.txt'
source„source,Œtcnl,Œtclf,'v:\cameleon\cwdev\mun\travaux en cours mun.txt'
source„source,Œtcnl,Œtclf,'v:\cameleon\cwdev\mel\travaux en cours mel.txt'
dest„'c:\temp\cameleon.zip'
0 0½'aba' Œwi '*Create' 'TAbale5'
'aba' Œwi 'Zip'source dest |
|
| Description Inheritance Example Properties Methods |
| |
| Methods |
| |
|
| New |
Description: Create a new instance of TAbale5
Example:
'obj' Œwi '*Create' 'TAbale5'
|
| Unzip |
Description: Unzips one or more files to a target directory
Syntax: rc„'obj' Œwi 'Unzip'zipfilename targetdirectory
zipfilename: name of the .ZIP source file
targetdirectory: full path name of the directory which is to receive the unzipped files
rc: 0 0½'' if Zip operation succeeded
Example:
'aba' Œwi 'Unzip' 'c:\temp\test.zip' 'c:\temp\test' |
 |
| UnzipWithPassword |
Description: Unzips one or more files to a target directory decrypting using a password
Syntax: rc„'obj' Œwi 'Unzip'zipfilename targetdirectory password
zipfilename: name of the .ZIP source file
targetdirectory: full path name of the directory which is to receive the unzipped files
password: a character string
rc: 0 0½'' if Zip operation succeeded
Example:
'aba' Œwi 'Unzip' 'c:\temp\test.zip' 'c:\temp\test' |
| Zip |
Description: Zips one or more files
Syntax: rc„'obj' Œwi 'Zip'sourcefiles targetfile
sourcefiles: a vector of vector of complete file names to zip
targetfile: a .zip destination file name
rc: 0 0½'' if Zip operation succeeded
(return code) (error message) if operation failed |
 |
| ZipWithPassword |
Description: Zips one or more files encrypting them with a password
Syntax: rc„'obj' Œwi 'Zip'sourcefiles targetfile password
sourcefiles: a vector of vector of complete file names to zip
targetfile: a .zip destination file name
password: a character string
rc: 0 0½'' if Zip operation succeeded
(return code) (error message) if operation failed |
|
| Description Inheritance Example Properties Methods |
| |
|