Re: How can I capture the error message of Iwebbrowser?



<FMchwk@xxxxxxxxx> wrote in message
news:3cc0eb36-7f3f-4302-bf17-4c5857121a9e@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am using Delphi and MSHTML in development a very simple browswer. I
am trying to capture ondocumentcomplete message. However, no matter if
the URL is valid or not, this documentcomplete message will always
issued. Moreover, I am using IE7, I cannot find any interface of
OnNavigateError.

What do you mean, cannot find any interface? NavigateError is fired on
the same event interface as DocumentComplete: DWebBrowserEvents2

http://msdn.microsoft.com/en-us/library/aa768283.aspx

--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.


Loading