Click here for NewsObjects Overview
IniType Property (Utility Control)
Windows - Visual C++


Description
The IniType property returns or sets a flag to indicate whether to use the initialization (.ini) file or the Windows registry to obtain default values.

Syntax
long value = GetIniType();
void SetIniType(long value);

The IniType syntax has these parts:

Part

Description

value

A long integer containing a value that indicates whether to use the .ini file or the Windows registry to get and set default values. A value of 0 indicates that the .ini file should be used for default values. A value of 1 indicates that the Windows registry should be used.

Remarks
The default setting for the IniType property is 0, indicating that the .ini file is to be used for default values. Currently the FileLocation property is the only one loaded from either the .ini file or the Windows registry.

See Also: FileLocation IniValue ReadKey WriteKey

Back to: Utility Properties