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

Sample for RegEdit.Values | Changes | Purchase | Download

Examples

Set a 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 a specific value sample

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