MOTOBIT.COM - ASP upload, IIS utility Binary Method of Value class

Method | Member of  RegEdit.Value | Changes | Purchase | Download


Returns or sets the value as a binary data - safearray of bytes.


vBinary = Value.Binary ([Type as ValueType = (According to value)])

Where Type Optional Default Description
 Type  ValueType  yes  (According to value)  The type of information to be stored in registry. This parameter has meaning only to set value. 


Binary safe array


You can use this property to set special value types, such as vtDWordBigEndian (REG_DWORD_BIG_ENDIAN)


Set special values using binary data

'Get RegEdit server object
Set S = CreateObject("RegEdit.Server")

'Get a key
Set Key = S.GetKey("HKLM\SOFTWARE")

'set value of the vtDWordBigEndian type
Key.Values("bigendian").Binary(vtDWordBigEndian) = ChrB(1) & ChrB(2) & ChrB(3) & ChrB(4)

Other links for Binary

Methods of Value class

Binary, Delete, Key, SetValue

Properties of Value class

Expanded, Name, Type, Value


Represents one value from windows registry


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: