GetURL

GetUrl é usado para iniciar uma solicitação GET em um servidor HTTP. As solicitações GET são usadas para recuperar documentos no servidor HTTP.

Sintaxe

GetUrl (CADEIA DE CARACTERES documento)

Na qual:

  • Documento é uma cadeia de caracteres (exemplo: index.html)
Retorno

Nenhum dado retornado.

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