' Collection of code snippets by Arne Vajhøj 
' (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
Private Sub Command1_Click()
    Dim WinHttpReq As Object
    Set WinHttpReq = New WinHttpRequest
    WinHttpReq.Open "GET", Text1.Text, False
    WinHttpReq.Send
    Text2.Text = WinHttpReq.ResponseText
End Sub

Private Sub Form_Load()
    Text2.Text = ""
End Sub
