hooger
August 6th, 2001, 08:54 AM
Hi!
I have a WebBrowser control of which I want to know if the page has been loaded correctly or if an error occured (like HTTP 404) and what is this error.
I know that I can use NavigateError() event with Explorer 6 but I can't demand to all users to download Explorer 6.
So, I do:
...
If (Left$(pDisp.Document.Title, 8) = "HTTP 404") Then
Error = "Navigation was not successful"
...
But it causes a problem because I can have users with many different languages systems and I can't identify all the languages used.
Does someone knows another way to reach this error by an error number or anything else?
Thanks and I wait for your advices!!!
Melanie
I have a WebBrowser control of which I want to know if the page has been loaded correctly or if an error occured (like HTTP 404) and what is this error.
I know that I can use NavigateError() event with Explorer 6 but I can't demand to all users to download Explorer 6.
So, I do:
...
If (Left$(pDisp.Document.Title, 8) = "HTTP 404") Then
Error = "Navigation was not successful"
...
But it causes a problem because I can have users with many different languages systems and I can't identify all the languages used.
Does someone knows another way to reach this error by an error number or anything else?
Thanks and I wait for your advices!!!
Melanie