User Guide

ZIPProvider Object 273
else if (nStatusCode == 410){sMessage = "ErrorMultidisk";}
else if (nStatusCode == 420){sMessage = "ErrorWrongDisk";}
else if (nStatusCode == 430){sMessage = "ErrorMultidiskBadCall";}
else if (nStatusCode == 440){sMessage = "ErrorCantOpenBinary";}
else if (nStatusCode == 450){sMessage =
"ErrorCantOpenSfxConfig";}
else if (nStatusCode == 460){sMessage =
"ErrorInvalidEventParam";}
else if (nStatusCode == 470){sMessage = "ErrorCantWriteSfx";}
else if (nStatusCode == 490){sMessage = "ErrorBinaryVersion";}
else if (nStatusCode == 500){sMessage = "ErrorNotLicensed";}
else if (nStatusCode == 510){sMessage = "ErrorCantCreateDir";}
app.MessageBox( sMessage ,"ZIPProvider", hsOKInfo);
}
Delete
Syntax Delete(Files: OleVariant): Integer;
Description Deletes files from an archive. Use the Files parameter to narrow down the group of
files to delete. You can specify a single file, a set of files delimited by line breaks or an
entire directory using wildcards. If left an empty string, all files are extracted. The
function returns a status code that you can investigate to determine whether the
operation succeeded.
Extract
Syntax Extract(Files: OleVariant): Integer;
Description Extracts files from an archive. Use the Files parameter to narrow down the group of
files to extract. You can specify a single file, a set of files delimited by line breaks or an
entire directory using wildcards. If left an empty string, all files are extracted. The
function returns a status code that you can investigate to determine whether the
operation succeeded.
FileDate
Syntax FileDate(nIndex: Integer): WideString;
Description Returns the datetime of an existing archive file element (file/directory/volume) by
index. The
index value can be from 0 to FileCount-1.
FileIsDirectory
Syntax FileIsDirectory(nIndex: Integer): WordBool;
Description Boolean. Use this function to determine whether a specific element in an archive is a
directory. The
index value can be from 0 to FileCount-1.