Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Sat, 17 May 2008 03:57:31 -0700 (PDT),    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


How can I capture the error message of Iwebbrowser?   
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. My question is how do I know if the URL is load
successfully or not?

Thanks.
date: Sat, 17 May 2008 03:57:31 -0700 (PDT)   author:   unknown

Re: How can I capture the error message of Iwebbrowser?   
wrote in message
news:3cc0eb36-7f3f-4302-bf17-4c5857121a9e@y38g2000hsy.googlegroups.com
> 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
date: Sat, 17 May 2008 10:18:36 -0400   author:   Igor Tandetnik

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us