Use this function to set a registry key.

 

Syntax:

SetRegistryKey( keyName, keyValue, [subKeyName] )

 

Parameter:

Description:

keyName

The name of the key, used by SetRegistryKey.

keyValue

The string value of the key numbers will be converted to strings

[subKeyName]

The string value of the key. numbers will be converted to strings.

 

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:

GetRegistryKey

See Also:

General

 


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


Topic ID#: 551

 

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