Unfortunately, this is new to IE 6.
And, the way you do it with Win32OLE is using the WIN32OLE_EVENT sink.
Thanks, though: this might be an option since our QA/testing is
moving to IE 6 … but I’d rather not rely on a IE 6-only feature
On 2002.07.17, Morris, Chris email@example.com wrote:
Is there any way to get the HTTP status code from IE through COM?
As in, to tell if the page displayed was HTTP status 200 OK vs.
404 Not Found or 500 Server Error, etc.?
It would appear you have to grab the OnNavigateError event of the
InternetExplorer.Application object. How to do this in Ruby with WIN32OLE –
Dossy Shiobara mail: firstname.lastname@example.org
Panoptic Computer Network web: http://www.panoptic.com/
“He realized the fastest way to change is to laugh at your own
folly – then you can let go and quickly move on.” (p. 70)