IPWorks OpenPGP 2020 C++ Builder Edition

Questions / Feedback?

SourceFile Property

File to be compressed into a self-decrypting archive.

Syntax

__property String SourceFile = { read=FSourceFile, write=FSetSourceFile };

Default Value

""

Remarks

This property specifies the name of a single file to be compressed. When both SourceFile and SourceDirectory are set, only SourceDirectory is used.

Example (Creating a Self-Decrypting Archive)


component.ArchiveFile = "c:\test.exe"
component.RecurseSubdirectories = true
component.SourceDirectory = "c:\foo\"
component.CaptionText = "Testing SDA"
component.BannerText = "Press continue to decompress the archive."
component.CreateSDA()

component.ArchiveFile = "c:\test.exe"
component.SourceFile = "c:\foo\bar.dat"
component.CaptionText = "Testing SDA"
component.BannerText = "Press continue to decompress the archive."
component.CreateSDA()

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 C++ Builder Edition - Version 20.0 [Build 8249]