EasyByte Software

Welcome to EasyByte Software

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

 

 

TARDeCompressTAR Method
 
     

Cryptocx v7 User Guide

 

TARDeCompressTAR Method

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

 

Description

DeCompress a TAR file

     
Syntax

x = object.TARDeCompressTAR

The syntax of the TARDeCompressTAR 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 TAR 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 TAR file

Where Cryptocx is an instance of a Cryptocx Control.

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

Dim theResult As String
Dim Cryptocx As New EasyByte_Software.Cryptocxv7


Cryptocx.LicenseKey = "DEMO"

Cryptocx.SourceFile = "C:\somefile.tar"
Cryptocx.WorkingFolder = "C:\Windows\Temp\"

theResult = Cryptocx.TARDeCompressTAR


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

If theResult = "TRUE" Then
  '' Ok, the tar 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