IniFileReadSetting

concerns

The IniFileReadSetting function reads an entry from an ini file.

 

Syntax

IniFileReadSetting(FileName, Key, Setting, Default, Value)

Return value

Type

Description

Long

0 - if the value could be read successfully

Parameter

Use

Name

Type

Passing

Description

Required

FileName

String

ByVal

The path to the ini file

Required

Key

String

ByVal

The key term of the value

Required

Setting

String

ByVal

The key term group

Required

Default

String

ByVal

The default value if the key term was not found

Required

Value

Variant

ByRef

The value found