MOTOBIT.COM - ASP upload, IIS utility Set specific value

Sample for RegEdit.Values.Item | Changes | Purchase | Download

Examples

Set specific value 
  'Get RegEdit.Server object
  Set S = CreateObject("RegEdit.Server")
  
  'Get a key
  Set Key = S.GetKey("HKLM\SOFTWARE\MyFirstKey")

  'Set binary value - type exactly specified
  Key.Values("BinaryData").SetValue ChrB(65) & ChrB(0) & ChrB(66) & ChrB(0), vtBinary

Other links for the Set specific value sample

RegEdit.Values

Collection of value objects of one registry key.

RegEdit

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