EasyByte Software

Welcome to EasyByte Software

Home Buy Online Products Downloads Support
Sections
Index
About
Installation
Properties
Methods
ASP and dotNET
Further Information
  

 

 

ZIPDeCompressZIP Method
 
     

Cryptocx v7 User Guide

 

ZIPDeCompressZIP Method

This is the method that you use to decompress a zip file. You can use it to decompress any zip file, whether it was created by Cryptocx or some other program.

 

Description

DeCompress a ZIP file

     
Syntax

x = object.ZIPDeCompressZip

The syntax of the ZIPDeCompressZIP method has these parts:

 
Part Description
object A Cryptocx v7 control.
x A string that becomes either "TRUE" or "Error: xxx" where xxx is the error message.

       
Remarks

The properties you can set when de-compressing a ZIP file are:

Required - SourceFile
Required - WorkingFolder

The WorkingFolder property specifies the start folder for decompression to start in.

       
Returns

String

     
Example Sample Visual Basic Code to decompress a ZIP file

Where Cryptocx is an instance of a Cryptocx Control.

''
'' Extract (De-Compress) the specified ZIP file
''

Dim theResult As String
Dim Cryptocx As New EasyByte_Software.Cryptocxv7


Cryptocx.LicenseKey = "DEMO"

Cryptocx.SourceFile = "C:\somefile.zip"
Cryptocx.WorkingFolder = "C:\"

theResult = Cryptocx.ZIPDeCompressZIP


'' Check to see what has happened (if the de-compression went ok without errors)
''

If theResult = "TRUE" Then
  '' Ok, the zip file was de-compressed with no errors
Else
  MsgBox theResult
End If


'' Free up Memory Resources
''

Set Cryptocx = Nothing

 

 

 

 

Back to Contents Page

 

Click here to set this great site as your home page

Or click here to add it to your Favorites.

  
  
 

Copyright (c) EasyByte Software 1998-2008, info@easybyte.com