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

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

Description

Removes the value from the specified registry key.

Syntax

Value.Delete

Remarks

Delete method uses RegDeleteValue API function.

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

See also

Key.Delete

Other links for Delete

Methods of Value class

Binary, Delete, Key, SetValue

Properties of Value class

Expanded, Name, Type, Value

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