Use this function to get a registry key value, that was set with the SetRegistryKey function

 

Syntax:

keyValue = GetRegistryKey( keyName, [subKeyName] )

 

Parameter:

Description:

keyName

The name of the key, used by SetRegistryKey.

[subKeyName]

The name of the subKey.

 

Example:

SetRegistryKey( "HelloWorld", "What a wonderful day." )
 
PRINT GetRegistryKey( "HelloWorld" )
 
SetRegistryKey( "Count", 0 )
 
count = GetRegistryKey( "Count" )
count = count + 1
 
'  Update the RegistryKey count
SetRegistryKey( "Count", count )
 
'  Display GetRegistryKey Returned Value
PRINT GetRegistryKey( "Count" )

Returns:

Returns the Count of the Registry Key

 

Links:

SetRegistryKey

See Also:

General

 


Edit Time: 9/25/2017 09:09:58 AM


Topic ID#: 356

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software