Hallo,
ich will mittels WinHTTPRequest auf eine Seite zugreifen, bekomme jedoch immer eine "Laufzeitfehler '-2147012867 (80072efd) Automatisierungsfehler' Fehlermeldung. Kann mir jemand sagen woran das liegt ? Hier der Code (mit HTTP-Seiten funktioniert der einwandfrei, aber ich brauch den für HTTPS):
Set httpObject = CreateObject("WinHttp.WinHttpRequest.5.1")
httpObject.Option(4) = 256 + 512 + 4096 + 8192
httpObject.Open "GET", "https://www.xing.com/", "false"
httpObject.send
MsgBox httpObject.GetAllResponseHeaders
Vielen Dank
ich will mittels WinHTTPRequest auf eine Seite zugreifen, bekomme jedoch immer eine "Laufzeitfehler '-2147012867 (80072efd) Automatisierungsfehler' Fehlermeldung. Kann mir jemand sagen woran das liegt ? Hier der Code (mit HTTP-Seiten funktioniert der einwandfrei, aber ich brauch den für HTTPS):
Set httpObject = CreateObject("WinHttp.WinHttpRequest.5.1")
httpObject.Option(4) = 256 + 512 + 4096 + 8192
httpObject.Open "GET", "https://www.xing.com/", "false"
httpObject.send
MsgBox httpObject.GetAllResponseHeaders
Vielen Dank
Comment