Compacting and decompacting files via E3.

Question:

In an E3 application, can compacted files be handled without any third-party software?

Solution:

Yes. This can be done in E3 via Windows’s own resources, which can handle compact files in *.ZIP format.

These resources can be used by E3 directly via scripts in VBScript language. In the sample application attached to this article, there are two ways you can use E3’s file compaction and decompaction:

  1. Via VBScript code executed at Elipse’s VBScript driver.
  2. Via VBScript code contained in a *.VBS file.

The first method (code executed via Elipse’s VBScript driver) provides a greater level of security, since it does not execute internal codes, in addition to allowing the application greater control of the whole process. The second one (via files), on the other hand, leaves code execution to the operating system, which in turn frees E3’s resources.

To choose either method, you must access the application’s Extras tab.

NOTE: To run the application, you may need to edit VBScript driver’s DriverLocation property, depending on the E3 version being used.

Attachments:

Sample4648.zip

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *