DeleteSetting Procedure | Microsoft.VisualBasic.Interaction |
DeleteSetting(appname[, section[, key]]) |
|
appname required; String
The name of the application. This must be a subkey of the HKEY_CURRENT_USER\Software\VBandVBAProgramSettings registry key.
section optional; String
The name of the application key's subkey that is to be deleted. section can be a single key or a registry path separated with backslashes.
key optional; String
The name of the value entry to delete.
Deletes a complete application key, one of its subkeys, or a single value entry from the Windows registry.
GetAllSettings Function | Microsoft.VisualBasic.Interaction |
GetAllSettings(appname, section) |
|
appname required; String
Name of the application
section required; String
Relative path from appname to the key containing the settings to retrieve
An object containing a two-dimensional array of strings
Returns the registry value entries and their corresponding values for the application.
GetSetting Function | Microsoft.VisualBasic.Interaction |
GetSetting(appname, section, key[, default]) |
|
appname required; String
The name of the application
section required; String
The path from the application key to the key containing the value entries
key required; String
The name of the value entry whose value is to be returned
default optional; String
The value to return if no value can be found
A string containing the value of the specified key; default if key, section, or appname were not found.
Returns a single value from a specified section of your application's entry in the HKEY_CURRENT_USER\Software\VBandVBA ProgramSettings\ branch of the registry.
SaveSetting Procedure | Microsoft.VisualBasic.Interaction |
SaveSetting(appname, section, key, setting) |
|
appname required; String
The name of the application
section required; String
The name of the registry key
key required; String
The name of the value entry whose value is to be saved
setting required; String or numeric
The value to save
Creates or saves an entry for a VB application in the Windows registry.