GetValueKind
Previous  Next

Returns a string that describes the value's type.
Syntax: GetValueKind (SubKey As String, ValueName As String) As String
The returned value can be:
REG_SZ - for a simple string value.
REG_DWORD - for a simple integer value.
REG_BINARY - for an array of bytes value.
REG_MULTI_SZ - for an array of strings value.

Example:
Sub App_Start
      reg.New1
      reg.RootKey(reg.rtCurrentUser)
      msgbox(reg.GetValueKind("Software\My Application","Some Value"))
End Sub