PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Opening a CAB archive
zipOpenCAB (Example)
Opening a CAB archive
WINDEVWEBDEV - Server codeWindowsUser code (UMC)Ajax The following code is used to open a CAB archive. The archive to open is selected by fSelect. The archive is opened in read-only (zipRead 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 + "*.CAB", "CAB", fselOpen)
 
// Open the selected archive
ResOpenArchive = zipOpenCAB(ArchiveName, ArchivePath, zipRead)
...
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment