One registry key.
| 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. |
| Name | Name of the key. |
| String, RW | |
| Class | The key’s class name. |
| String, RO | |
| hKey | Handle of the opened key. |
| Long, RO | |
| LastWriteTime | Last write time. |
| Date, RO | |
| SubKeys | Subkeys of the key. |
| Keys, RO | |
| Values | Values for the specified registry key. |
| Values, RO |
Create one key and set its default value. |
'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" |
Keys.Add, Keys.Item, Key.CreateKey, Server.GetKey, Value.Key
Server, Keys, Key, Values, Value
ValueType, ReservedKeys, LogonTypes, AccessRights
Intuitive, easy to use COM interface to windows registry. Set of classes to read/enumerate/modify windows registry keys and values from ASP, VBS and T-SQL.
© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz