Navigation: thinBasic Modules > Registry > Registry_GetAllKeys |
|
Description
Returns a list of all keys and sub-keys present into a registry key.
Syntax
s = Registry_GetAllKeys(HKEY, MainKey [, Separator])
Returns
String.
Parameters
Name |
Type |
Optional |
Meaning |
HKEY |
String |
No |
Can be one of the following strings: "HKEYCR" (%HKEY_CLASSES_ROOT) "HKEYCU" (%HKEY_CURRENT_USER) "HKEYLM" (%HKEY_LOCAL_MACHINE) "HKEYU" (%HKEY_USERS) "HKEYCC" (%HKEY_CURRENT_CONFIG) |
MainKey |
String |
No |
The requested key path |
Separator |
String |
Yes |
Optional item separator to use in the returning string |
Remarks
Restrictions
See also
Examples
USES "Registry"
DIM MyString AS STRING
MyString = Registry_GetAllKeys("HKEYLM", "Software\thinBasic", $CRLF)
MsgBox 0, MyString
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |