GetNextKey

GetNextKey é usado para continuar com a enumeração de chaves que foi iniciada com a função GetFirstKey.

Sintaxe

GetNextKey

Retorno

Cadeia de caracteres: contendo nome da chave.

Exemplo

Este script lista todas as chaves em 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