The number of values associated with the key.
vnumValues = Key.numValues
Long
numValues property uses RegQueryInfoKey API function.
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 |
Close, CreateKey, Delete, ExistsKey, ExistsValue, Flush, numSubKeys, numValues, Save
Class, hKey, LastWriteTime, Name, SubKeys, Values
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 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz