6.1.2.8.1.10 GetSetting

Function Declaration

 Function GetSetting(AppName As String, Section As String, Key As String, Optional Default As Variant) As String 

Parameter

Description

AppName

String expression containing the name of the application or project whose key setting is requested.

Section

String expression containing the name of the section where the key setting is found.

Key

String expression containing the name of the key setting to return.

Default

Variant expression containing the value to return if no value is set in the key setting. If omitted, default is assumed to be a zero-length string ("").

Runtime Semantics.

§ Returns a key setting value from an application's entry in an implementation dependent application registry.

§ If any of the items named in the GetSetting arguments do not exist, GetSetting returns the value of Default.