| Key - One registry key. (Item property, Returns a single Key object from the Keys collection.) | |||||||
| Key - One registry key. (GetKey method, Returns specified key from remote computer.) | |||||||
| Values - Collection of value objects of one registry key. (Values property, Values for the specified registry key.) | |||||||
| Value - Represents one value from windows registry (Item property, Returns a single Value object from the Values collection.) | |||||||
| Keys - Collection of key objects of one registry key. (SubKeys property, Subkeys of the key.) | |||||||
| Key - One registry key. (Item property, Returns a single Key object from the Keys collection.) | |||||||
| Close | Releases the handle of the specified key. | |
| CreateKey | Creates the specified key. If the key already exists in the registry, the method opens it. | |
| Delete | Deletes the key. | |
| ExistsKey | Test of existence of key's subkey. | |
| ExistsValue | Test of existence of key's value. | |
| Flush | Writes all the attributes of the key into the registry. | |
| numSubKeys | The number of subkeys contained by the specified key. | |
| numValues | The number of values associated with the key. | |
| Save | Saves the key and all of its subkeys and values to a new file. |
| ||
'Get RegEdit.Server object
Set S = CreateObject("RegEdit.Server")
'Get a key
Set Key = S.GetKey("HKLM\SOFTWARE")
'Add a new key
Set MyKey = Key.CreateKey("MyFirstKey")
'or Set MyKey = Key.SubKeys.Add("MyFirstKey")
'Set String and DWORD values
MyKey.Values("") = "C:\Program Files\My" |