Add

ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP
Url replacer, IIS url rewrite Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object
 IISTracer, real-time IIS monitor
 Huge ASP upload - upload files with progress.
          Method 
          Member of  RegEdit.Keys 

Description
Creates the specified key. If the key already exists in the registry, the method opens it.
Syntax
Set NewKey = Keys.Add (Name as String)
 
Where Type Optional Default Description
 Name  String     Name of the new key. 
Returns
Key - One registry key.
Remarks
Add Method uses RegCreateKey API function.
Examples
 Add one app key and set its default value.  
  'Get RegEdit.Server object
  Set S = CreateObject("RegEdit.Server")

  'Add a new key
  Set Key = S.GetKey("HKLM\SOFTWARE").CreateKey("MyFirtsApp")

  'Writes Date to the defalut key value
  Key.Values("") = Date
See also
  Other links for Add
Methods of Keys class
Properties of Keys class
Collection of key objects of one registry key.
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 – 2006 Antonin Foller, Motobit Software, help{at}pstruh.cz, help v. 1.06.2