' 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 "HEAD", "http://www.microsoft.com/", False
    WinHttpReq.Send
    Text1.Text = WinHttpReq.GetResponseHeader("Content-Length")
End Sub
