IPWorks OpenPGP 2020 ActiveX Edition

Questions / Feedback?

SourceDirectory Property

Directory to be compressed into a self-decrypting archive.

Syntax

sdacontrol.SourceDirectory[=string]

Default Value

""

Remarks

This property specifies the name of the directory containing the files to be compressed. This may be a local or absolute path. If the RecurseSubdirectories property is true, all the subdirectories under SourceDirectory will be recursed into, and those files will also be compressed.

Example (Creating a Self-Decrypting Archive)


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

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

Data Type

String

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