Copyright © 2005-2019 MultiMedia Soft

ZIP.Open method

Previous pageReturn to chapter overviewNext page

Remarks

 

Opens a ZIP file session. An opened ZIP session can be closed at a later time through the ZIP.Close method.

 

A call to this method is mandatory in order to extract or add entries from or to the ZIP file.

 

For further details about methods for ZIP management refer to the ZipMan class.

For details about using ZIP management refer to the How to manage ZIP files tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function Open (

strZipFilePathname as String,

strPassword as String

) as enumErrorCodes


 

[C#]

public enumErrorCodes Open (

string strZipFilePathname,

string strPassword

);


 

[C++]

public: enumErrorCodes Open (

string strZipFilePathname,

string strPassword

);


 

 

Parameter

Description

 

 

strZipFilePathname

String representing the absolute pathname of the ZIP file to open.

strPassword

String containing the optional password to set for future files extraction or adding operations; leave it empty if not needed.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.