In VB6, I am using the Web Browser Control's NavigateError Event to trap HTTP errors. It returns StatusCode, like "500", which is this:
HTTP_STATUS_SER VER_ERROR
500
The server encountered an unexpected condition that prevented it from fulfilling the request.
If I let Internet Explorer report the error, I get much more info. Here are some "500 error" examples:
Example...