Hi there,
I am trying to run a simple code:
Set HTMLRs = CreateObject("Microsoft.XMLHTTP")
HTMLRs.Open "GET", URL, False
HTMLRs.Send
TakenHTML = HTMLRs.responseBody
However I get an error of:
-------
msxml3.dll error '800c0005'
The system cannot locate the resource specified.
-------
Error Line pointed to HTMLRs.Send
I used it as a test on whether the url is valid. So I put an error url on purpose. But is it possible for us to output an error message if there are no server response on the target url?
Any help is appreciated. thanks,
- Warrick
I am trying to run a simple code:
Set HTMLRs = CreateObject("Microsoft.XMLHTTP")
HTMLRs.Open "GET", URL, False
HTMLRs.Send
TakenHTML = HTMLRs.responseBody
However I get an error of:
-------
msxml3.dll error '800c0005'
The system cannot locate the resource specified.
-------
Error Line pointed to HTMLRs.Send
I used it as a test on whether the url is valid. So I put an error url on purpose. But is it possible for us to output an error message if there are no server response on the target url?
Any help is appreciated. thanks,
- Warrick