INFO: SaveSetting & GetSetting Allow Nested Settings (145694)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q145694 SUMMARY
It is possible to use the SaveSetting statement to create nested levels of
keys and values in the Registry. This behavior is desirable in some cases.
For example, when receiving the location of a SYSTEM.MDA file, the Access
engine expects the SystemDB value to exist in a subkey of Engines\Jet, such
as this:
HKEY_CURRENT_USER
\Software
\VB and VBA Program Settings
\MyApp
\Engines
\Jet
SystemDB = c:\access\system.mda
Simply using the syntax for GetSetting supplied in the documentation and
online help does not allow for this functionality.
Modification Type: | Major | Last Reviewed: | 5/7/2003 |
---|
Keywords: | kbinfo KB145694 |
---|
|