Please enable JavaScript to view this site.

thinBasic Help Manual

Navigation: ThinBASIC Modules > ZLIB

ZLib_ExtractToString

Scroll Prev Top Next More

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

Description

 

Extract files from a compressed Zip file to a string buffer

 

Syntax

 

s = ZLib_ExtractToString(sZipFile, FileNameToExtract [, sPassword])

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

sZipFile

String

No

Full path name of the compressed Zip file

FileNameToExtract

String

No

Name of the file to extract from ZIP file archive.

If ZIP archive have subdirectories, add the full path and file name.

 

Example: "Data\MyData.dat"

 
IMPORTANT: do not add initial \ when using internal ZIP path

sPassword

String

Yes

In case zip file is password protected, pass the correct password

 

Remarks

 

Restrictions

 

See also

 

ZLib_List, ZLib_Find, ZLib_Extract,

 

Examples

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software