|
User Defined Class Library
|
Class:
| clsRegEdit |
|
Version:
| 1.1.2 |
|
Description:
| Using the WMI StdRegProv, this class provides an easy method for reading, writing, enumerating, and deleting registry keys and values on local and remote computers. Updated to support features such as QWORD on Windows Vista, Server 2008, and Windows 7. |
|
Name / Return Type
|
RO
|
Description
|
| ComputerName Returns: String | N | Sets / Returns the name of the computer to connect to. Default is local computer. |
| ComputerOSVersion Returns: String | Y | Returns the version of Windows installed on the computer the class is currently attached to. |
| KeepDefaultUserProfileOpen Returns: Boolean | N | Sets / Returns if when using the Default User Read/Write functions, the default user hive remains loaded. By default, the hive is loaded / unloaded for each read/write. Set this property to True to keep the hive open for multiple read/writes. The hive will automatically be unloaded either after the next read/write call when the property is set to false, or when the script unloads. |
| ReturnBinaryAsHEX Returns: Boolean | N | Sets / Returns if on registry reads of binary data the information is returned as an array of integers or an array of HEX values. Default is HEX. |
|
Parameters / Return Type
|
Where...
|
| CheckAccess dblHive, strPath, dblAccessType Returns: Boolean | dblHive
Registry Hive constant
strPath
String path of the subkey
dblAccessType
Registry Access Type constant |
| CreateRegKey dblHive, strPath Returns: Boolean | dblHive
Registry Hive constant
strPath
String path of key |
| DeleteRegEntry dblHive, strPath, strKey Returns: Boolean | dblHive
Registry Hive constant
strPath
String path of key where data/value pair reside
strKey
Name of value
|
| DeleteRegKey dblHive, strPath Returns: Boolean | dblHive
Registry Hive constant
strPath
String path of key where data/value pair reside
|
| EnumKey dblHive, strPath, intIndex Returns: String | dblHive
Registry Hive constant
strPath
String path of the subkey
intIndex
Index position, from zero, of value to enumerate |
| EnumValues dblHive, strPath, intIndex, vValueData Returns: Variant | dblHive
Registry Hive constant
strPath
String path of the subkey
intIndex
Index position, from zero, of value to enumerate
vValueData
(out) Returned value of the returned value |
| GetSecurityDescriptor strHiveAndPath Returns: String | strHiveAndPath The hive and path to the subkey. |
| ReadDefaultUserValue strPath, strKey, dblType, bIgnoreUnloadErrors Returns: Variant | strPath
The path from the root to the value
strKey
The value name
dblType
Value type constant
bIgnoreUnloadErrors
Boolean value setting if an error should be raised if the default user registry hive can not be unloaded. |
| ReadRegEntry dblHive, strPath, strKey, dblType Returns: Variant | dblHive
Registry Hive constant
strPath
String path of key where data/value pair reside
strKey
Name of value
dblType
Registy value type constant. |
| ReadStringFromBinary dblHive, strPath, strKey Returns: String | dblHive
Registry Hive constant
strPath
String path of the subkey
strKey
Name of value |
| RegEntryExists dblHive, strPath, strKey, dblType Returns: Boolean | dblHive
Registry Hive constant
strPath
String path of key where data/value pair reside
strKey
Name of value
dblType
Value Data Pair constant |
| SubkeyCount dblHive, strPath Returns: Integer | dblHive
Registry Hive constant
strPath
String path of the subkey
|
| SubkeyCount dblHive, strPath Returns: Integer | dblHive
Registry Hive constant
strPath
String path of the subkey |
| WriteDefaultUserEntry strPath, strKey, strValue, dblType, bIgnoreUnloadErrors Returns: Boolean | strPath
The path from the root to the value
strKey
The value name
strValue
Value to write
dblType
Value type constant
bIgnoreUnloadErrors
Boolean value setting if an error should be raised if the default user registry hive can not be unloaded. |
| WriteRegEntry dblHive, strPath, strKey, strValue, dblType Returns: Boolean | dblHive
Registry Hive constant
strPath
String path of key where data/value pair reside
strKey
Name of value
strValue
Value to write
dblType
Registy value type constant. |
| WriteStringAsBinary dblHive, strPath, strKey, strValue Returns: Boolean | dblHive
Registry Hive constant
strPath
String path of the subkey
strKey
Name of value
strValue
String to convert |
VBScript Only At This Time
|
Last Modification:
4/29/2009
More Information:
None
|