EasyByte Software

Welcome to EasyByte Software

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

 

 

ArchiveExecuteFile Property
 
     

Cryptocx v7 User Guide

 

ArchiveExecuteFile Property

This is the property that you set if you would like to run a file after the SDA has been successfully decrypted. To create an archive you use this method, CreateArchive.

 

Description

Specifies the file to execute after decryption.

     
Syntax

object.ArchiveExecuteFile [= String ]

The syntax of the ArchiveExecuteFile property has these parts:

 
Part Description
object A Cryptocx v7 control.
String A string expression that specifies the file to execute after decryption.

       
Default ""   (empty string)
       
Remarks If no file is specified then this property is ignored when generating the SDA and no file will be executed after the SDA is decrypted.

You can only specify a file that is in the SDA.

You can specify any type of file here, when it is executed the application that is associated with that file type is loaded with it, just like if you double click on the file in windows explorer.

For example you could specify "file.doc" and then MS Word would be loaded up with the file after decryption.

 

Important

You must not specify absolute or relative paths for this property. You can only specify the name of the file. 

When the SDA decrypts, it will search through the archive from the lowest directory in the archive to the highest directory level for the first occurrence of the named file specified for ArchiveExecuteFile property.

So if you have an SDA archive with two files of the same name in them:

C:\file.txt and C:\Directory\file.txt

and you specify "file.txt" for this property then C:\file.txt is the file that will be executed after decryption of the SDA.

     
Data Type

String

     
Example Sample Visual Basic Code:

Where Cryptocx1 is an instance of a Cryptocx Control.

Cryptocx1.ArchiveExecuteFile = "invoices.doc"

 

 

 

 

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