• 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…
Click [Add] to post a comment