Visual Basic’s SaveSetting and GetSetting routines let a program save and restore values in the system Registry. GetSetting has this syntax:
value = GetSetting(AppName, Section, Key, Default)
Here AppName is the name of the application. GetSetting uses this parameter to keep the values stored by this application separate from those used by other programs.
The Section parameter allows the program to categorize the values stored for the program. For example, the program might use separate sections for user configuration settings, user log in information, internationalization data, and so forth.
The Key parameter tells GetSetting the name of the value that it should fetch from the Registry. GetSetting returns Default if the value is ...