RegistryItem

From Real Software Documentation

Jump to: navigation, search
Class (inherits from Object)

Creates and manages registry items on Windows.


Properties
FolderCount Parent
KeyCount Path


Methods
AddFolder Name
Child Value
DefaultValue Value
Delete Value
Item Value
KeyType


Constructors

RegistryItem.Constructor(copy as RegistryItem)


RegistryItem.Constructor(path as String , create as Boolean)



Notes

The Value method returns valid information for expandable strings, binary and multi-strings. In the case of expandable strings, Real Studio automatically expands the string for you and returns it as a string. It supports getting and setting 64-bit values. The default value may also be 64-bit.

In the case of multi-strings, Real Studio passes back a string that is Chr(0)-delimited. Please use the Split function to get the individual parts, like this:

part = Split(regValue, Chr(0))



where part is a String array.

In the case of a binary value, Real Studio returns a MemoryBlock. You cannot currently set an expandable string, or a multistring. To set a binary string, please pass in a MemoryBlock.

See Also

RegistryAccessErrorException error.

Personal tools