ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Archive functions
  • Open an archive
Open an archive
WINDEVUser code (UMC) The following code is used to open an archive. The archive to open is selected by fSelect. The archive is opened in read/write mode (zipWrite constant).
// Declare and initialize the variables
ArchiveName is string = "MyArchive"
ArchivePath is string
ResOpenArchive is int
 
// Select the archive to open
ArchivePath = fSelect("", "", "Select the archive to open", "Archive file" + TAB + ...
 "*.WDZ", "WDZ", fselOpen + fselExist)
 
// Open the selected archive
ResOpenArchive = zipOpen(ArchiveName, ArchivePath, zipWrite)
...
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help