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

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

Description

Deletes the key.

Syntax

Key.Delete

Remarks

WinNT : This method cannot delete a key that has subkeys (access is denied).
Delete Method uses RegDeleteKey API function.

Examples

Delete key

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

  S.GetKey("HKCR\.utl").Delete

See also

Value.Delete

Other links for Delete

Methods of Key class

Close, CreateKey, Delete, ExistsKey, ExistsValue, Flush, numSubKeys, numValues, Save

Properties of Key class

Class, hKey, LastWriteTime, Name, SubKeys, Values

RegEdit.Key

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