numValues

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.Key 

Description
The number of values associated with the key.
Syntax
vnumValues = Key.numValues
Returns
Long
Remarks
numValues property uses RegQueryInfoKey API function.
Examples
 List of shell extensions.  
  'Get RegEdit.Server object
  Set S = CreateObject("RegEdit.Server")

  Set Key = S.GetKey("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved")

  Wscript.Echo "Number of shell extensions: " & Key.numValues

  For Each Value In Key.Values
      Wscript.Echo Value.Value
  Next
See also
  Other links for numValues
Properties of Key class
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