AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de archivos
  • Opening a CAB archive
zipOpenCAB (Example)
Opening a CAB archive
WINDEVWEBDEV - Código ServidorWindowsCódigo de Usuario (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)
...
Versión mínima requerida
  • Versión 12
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/05/2022

Señalar un error o enviar una sugerencia | Ayuda local