
NAURTECH WEB BROWSER AND TERMINAL EMULATION FOR WINDOWS CE AND WINDOWS MOBILE
CETerm Scripting Guide Page 65
3.13 THE REGISTRY OBJECT
The Registry object provides access to the Windows registry. The registry is a
form of database on Windows devices which holds the device configuration. The
registry has a hierarchical structure. The “keys” are similar to file folders and the
“values” inside a key are similar to files in a folder.
For a better understanding of the Windows registry, you can search for
information at msdn.microsoft.com with the keywords “using registry ce”.
Several methods require a “fully qualified” value name which contains the full key
hierarchy, begins with a “root” key, and ends with the value name. This fully
qualified value name is similar to a file name with the full path. The Registry
object is a property of the OS object; OS.Registry.
WARNING: Altering the registry can make your device unusable. Be sure you
understand the effect of changing values.
Methods
The following methods are available
Delete an existing value.
Get all sub-key names of a specified key.
Get all value names of a specified key.
Issue the RegFlushKey command.
Get the data type of a value.
Read a value from a key and return as a Visual Basic array.
status = DeleteKey ( keyname )
Deletes an existing key and all values. Returns 0 for success or non-zero for an
error. Delete will fail if a key has sub-keys.
Komentarze do niniejszej Instrukcji