The WindowsRegistry class gives the programmer access to the registry. The class can be use to query the registry and modify, add, and delete entries.
The WindowsRegistry class is not a built-in class; it is defined in the file winSystm.cls.
Use a ::requires statement to use the class in a program.
::requires "winSystm.cls"
A sample program, registry.rex, is provided in the samples\winsystem directory.
Methods the WindowsRegistry Class Defines
new (Class method)
classes_root
classes_root=
close
create
current_key
current_key=
current_user
current_user=
delete
deleteValue
flush
getValue
list
listValues
load
local_machine
local_machine=
open
query
replace
restore
save
setValue
unload
users
users=
>>-new---------------------------------------------------------><
Creates an instance of the WindowsRegistry class. The current key is set to HKEY_LOCAL_MACHINE.