GetNextKey

GetNextKey is used to continue the enumeration of keys which was started by the GetFirstKey function.

Syntax

GetNextKey

Returns

String : containing name of key.

Example

This scripts lists all of keys under Microsoft:

Function Main

Dim Ro As Object

cr = Chr(13) + Chr(10)

Set Ro = Registry.Connect("127.0.0.1")

Value = ro.GetFirstKey("SOFTWARE\Microsoft")

While Value <> ""

Echo "Keyname = " & value & cr

Value = ro.GetNextKey

Wend

End Function