MOTOBIT.COM - ASP upload, IIS utility Delete all values from one registry key

Sample for RegEdit.Value.Delete | Changes | Purchase | Download

Examples

Delete all values from one registry key 
  'Get RegEdit.Server object
  Set S = CreateObject("RegEdit.Server")
  
  'Get a key
  Set Key = S.GetKey("HKLM\SOFTWARE\MyFirstKey")

  'Delete values
  For Each Value In Key.Values
    Value.Delete
  Next

Other links for the Delete all values from one registry key sample

RegEdit.Value

Represents one value from windows registry

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