Hide

SftOptions 1.0 - ActiveX Options Control

Display
Print

SftOptsIO.File Property

Defines the file used to store property settings.

Syntax

Get

VB.NETFileName = object.File As String
VBFileName = object.File As String
C#.NETstring FileName = object.File;
VC++_bstr_t FileName = object->File;
_bstr_t FileName = object->GetFile();
CHRESULT object->get_File(BSTR* FileName);

Put

VB.NETobject.File = FileName As String
VBobject.File = FileName As String
C#.NETstring object.File = FileName;
VC++_bstr_t object->File = FileName;
void object->PutFile(_bstr_t FileName);
CHRESULT object->put_File(BSTR FileName);

object

A SftOptsIO object.

FileName

Defines the file used to store property settings, a full path or a partial path with leading "-" character (see below).

Comments

The File property defines the file used to retrieve and store property settings.

The SftOptsIO control is used by an application to retrieve (or set) option values. The SftOptsIO control does not offer a user interface. The SftOptions control is used to provide a user interface to allow the end-user to modify option settings.

The SftOptsIO control offers simplified Registry and INI file I/O to retrieve or set option values.

The SftOptsIO.File property is identical to the SftOptionsIO.File property.

Example

Dim CheckBoxValue As String
SftOptsIO1.File = "-\SftOptionsTest\Sample1.ini"
CheckBoxValue = SftOptsIO1.OptionValue("Cb1")

See Also SftOptsIO Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.