ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

zipOpenCAB (Example)
Usage example of the zipOpenCAB function
<zipArchive variable>.OpenCAB (Function)
Opens an existing archive in CAB format.
zipOpenCAB (Function)
Opens an existing archive in CAB format.
zipFilter (Function)
Returns the list of archive formats supported by the current platform, in the format expected by the filter of fSelect.
Archiving functions (management of ZIP, WDZ, CAB, RAR, 7z, TAR and TGZ (TAR.GZ)) (prefix syntax)
List of archiving functions (management of ZIP, WDZ, CAB, RAR, 7z, TAR and TGZ (TAR.GZ))
fStopCompress (Function)
Stops the operation used to compress or decompress a file.
<zipArchive variable>.Open (Function)
Opens an existing archive.
Archiving functions (management of ZIP, WDZ, CAB, RAR, 7z, TAR and TGZ (TAR.GZ))
List of archiving functions (management of ZIP, WDZ, CAB, RAR, 7z, TAR and TGZ (TAR.GZ))
zipSelectFile (Function)
Selects files from an archive.
zipOpen (Function)
Opens an existing archive.
zipNbFile (Function)
Returns the number of files found in an archive (in CAB, RAR, ZIP, WDZ or 7z format).
<zipArchive variable>.CurrentFile (Function)
Returns the name of the archived file currently handled by the functions for adding and extracting files.
<zipArchive>.SelectFile (Function)
Selects files from an archive.
zipArchivedFile (Type of variable)
The zipArchivedFile type is used to handle a file found in an archive in one of the following formats: ZIP, CAB, RAR or WDZ or a file to add into an archive.
The single-part and multi-part archives
Two types of archives are available...
zipArchive (Type of variable)
The zipArchive type is used to handle an archive file in one of the following formats: ZIP, CAB, RAR or WDZ.
<zipArchive variable>.Create (Function)
Creates an archive.
zipCurrentFile (Function)
Returns the name of the archived file currently handled by the functions for adding and extracting files.
The archives
WINDEV, WEBDEV and WINDEV Mobile propose several WLanguage functions allowing you to compress and merge your files into archives...
WDZip: Handling files in an archive
The compressed files found in an archive can be handled by WDZip...
zipCreate (Function)
Creates an archive.
zipExist (Function)
Used to find out whether an archive exists.
zipNbPart (Function)
Returns the number of sub-archives (parts) found in an archive in CAB, RAR, ZIP, WDZ, 7z, TAR or TGZ (TAR.GZ) format.
zipSize (Function)
Returns the size of archive (in ZIP, RAR, CAB, WDZ or 7z format):
  • the size of all compressed files found in the archive.
  • the size of all files found in the archive before compression.
<zipArchive variable>.OpenRAR (Function)
Opens an existing archive in RAR format.
<zipArchive variable>.ListFile (Function)
Returns the list of files found in an archive.
<zipArchive variable>.FileSize (Function)
Returns the size of one of the files found in the archive (in CAB, RAR, WDZ, ZIP, 7z, TAR or TGZ (TAR.GZ) format):
  • the compressed size of the file.
  • the size of file before compression.
<zipArchive variable>.DeleteAll (Function)
Deletes all files from an archive.
<zipArchive variable>.NbPartNeeded (Function)
Returns the number of parts of a given size required to split a single-part archive.
<zipArchive variable>.ExtractPath (Function)
Returns the path of a file found in the archive.
<zipArchive variable>.Close (Function)
Closes an archive.
zipDeleteAll (Function)
Deletes all files from an archive.
zipCompressionLevel (Function)
Changes the compression level used when creating an archive in ZIP format or in 7z format.
fCompress (Function)
Compresses a file.
zipFindFile (Function)
Finds a file in an archive (in CAB, ZIP, RAR, WDZ or 7z format).
zipFileSize (Function)
Returns the size of one of the files found in the archive (in CAB, RAR, WDZ, ZIP, 7z, TAR or TGZ (TAR.GZ) format):
  • the compressed size of the file.
  • the size of file before compression.
zipListFile (Function)
Returns the list of files found in an archive.
zipOpenRAR (Function)
Opens an existing archive in RAR format.
zipExtractPath (Function)
Returns the path of a file found in the archive.
zipClose (Function)
Closes an archive.
<zipArchive variable>.ExtractDirectory (Function)
Automatically extracts and decompresses files from a directory in the file tree of an archive to a physical location.
zipNbPartNeeded (Function)
Returns the number of parts of a given size required to split a single-part archive.
zipMsgError (Function)
Returns the message associated with an error code on an archive.
<zipArchive variable>.IsMulti (Function)
Returns the type of archive: single-part archive or multi-part archive.
<zipArchive variable>.DeleteFile (Function)
Deletes a file from an archive.
<zipArchive variable>.Merge (Function)
Merges the different sub-archives found in a multi-part archive to create a single-part archive.
<zipArchive variable>.AddFileList (Function)
Adds a list of files (of any type) into an archive in ZIP, CAB, WDZ or 7z format and compresses it.
zipExtractDirectory (Function)
Automatically extracts and decompresses files from a directory in the file tree of an archive to a physical location.
<zipArchive variable>.ExtractFile (Function)
Extracts a file from an archive and automatically decompresses it to a physical location or in memory.
<zipArchive variable>.ExtractAll (Function)
Extracts all files from an archive and decompresses them.
zipChangePath (Function)
Modifies the stored path of a file in an archive (in ZIP, WDZ or 7z format).
zipMerge (Function)
Merges the different sub-archives found in a multi-part archive to create a single-part archive.
zipExtractAll (Function)
Extracts all files from an archive and decompresses them.
zipIsMulti (Function)
Returns the type of archive: single-part archive or multi-part archive.
zipDeleteFile (Function)
Deletes a file from an archive.
zipAddDirectory (Function)
Adds all the files found in a directory and in its subdirectories into an archive and compresses them.
zipExtractFile (Function)
Extracts a file from an archive and automatically decompresses it to a physical location or in memory.
zipAddFileList (Function)
Adds a list of files (of any type) into an archive in ZIP, CAB, WDZ or 7z format and compresses it.
Creating an executable: WINDEV framework
Each WINDEV function is associated with a WINDEV DLL...
<zipArchive variable>.AddDirectory (Function)
Adds all the files found in a directory and in its subdirectories into an archive and compresses them.
<zipArchive variable>.DeleteFileList (Function)
Deletes a list of files from an archive.
Constants for the archiving functions
List of constants used by the archiving functions.
zipExtractFileList (Function)
Extracts and decompresses a list of files found in an archive to a physical location.
Error handling WLanguage procedure called by zipExtractDirectory
WLanguage procedure ("Callback") called if an error is encountered when extracting files with zipExtractDirectory.
<zipArchive variable>.ExtractFileList (Function)
Extracts and decompresses a list of files found in an archive to a physical location.
zipPassword (Function)
Defines the password used to add files into the specified archive and to extract files from the specified archive (RAR, ZIP and WDZ format).
<zipArchive variable>.AddFile (Function)
Adds a file (of any type) into an archive in CAB, ZIP, WDZ and 7z, TAR or TGZ (TAR.GZ) format and compresses it.
zipDeleteFileList (Function)
Deletes a list of files from an archive.
WDZip: Overview
WDZip is used to compress and group your files in archives...
<zipArchive variable>.InfoFile (Function)
Returns the characteristics of a file found an archive:
  • The name of the file and its stored path.
  • The initial size of the file.
  • The compressed size of file.
  • The date and time of file creation.
  • The date and time of file modification.
  • The date and time of file access.
  • The file attributes.
  • The file encryption mode.
fUncompress (Function)
Decompresses a file that was compressed by fCompress.
zipAddFile (Function)
Adds a file (of any type) into an archive in CAB, ZIP, WDZ and 7z, TAR or TGZ (TAR.GZ) format and compresses it.
zipInfoFile (Function)
Returns the characteristics of a file found an archive:
  • The name of the file and its stored path.
  • The initial size of the file.
  • The compressed size of file.
  • The date and time of file creation.
  • The date and time of file modification.
  • The date and time of file access.
  • The file attributes.
  • The file encryption mode.
<zipArchive variable>.CreateExe (Function)
Creates a self-extracting archive as a 32-bit executable (.EXE).
zipCreateExe (Function)
Creates a self-extracting archive as a 32-bit executable (.EXE).
<zipArchive variable>.Split (Function)
Splits an archive into several sub-archives of a given size.
zipSplit (Function)
Splits an archive into several sub-archives of a given size.
Drag and Drop management functions
The following functions are used to manage Drag and Drop:
Drag and Drop from the explorer
The Drag and Drop from the explorer consists in selecting one or more files in the Windows explorer and in transferring them into a control of a WINDEV window...
TreeView control management functions
The following functions are used to manage the TreeView controls:
Functions for managing TreeView controls (prefix syntax)
The following functions are used to manage TreeView controls (prefix syntax):
Drag and Drop
Drag and Drop is used to transfer data between several controls with the mouse. This data can be moved between several controls found in the same application or in different applications.
WDZip: Creating or modifying an archive
This help page explains how to...
Automatic modification of data files
The automatic modification of data files is used to update the description of data files found on the user computers...
The TreeView control
The TreeView control is a tree structure used to simplify the display of information that can be represented hierarchically...
Global procedure/function
A global procedure can be used in all the processes or events of the project.
Lesson 3.7. Procedures
Lesson 2.6. Procedures
Appendix 7. Procedures
Advanced types
The advanced types of WLanguage are as follows
2. Examples provided with WINDEV
The examples provided with WINDEV are intended to help you learn the features of WINDEV.
Site map of PC SOFT documentation
1
2
3
4
>