DocumentComplete event failed to fire in different version of SHDOCVW.DLL
- From: prowyh <prowyh@xxxxxxxxx>
- Date: Tue, 4 Dec 2007 09:51:37 -0800 (PST)
Hi all,
I wrote a Windows Form application that hosts WebBrowser control, and
I want to handle the DocumentComplete event in C# code. It works fine
on my development computer, but the WebBrowser control failed to fire
the DocumentComplete event while run on another computer.
The SHDOCVW.DLL on my computer has the version: 6.0.3790.3959, and the
SHDOCVW.DLL on another computer has the version: 6.0.3790.4134.
My code snippet:
axWebBrowser.DocumentComplete += new
AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEventHandler(this.axWebBrowser_DocumentComplete);
object o = null;
axWebBrowser.Navigate2(ref __url, ref o, ref o, ref o, ref o);
//.....
private void axWebBrowser_DocumentComplete(object sender,
AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e)
{
//.......
}
On another computer, method axWebBrowser_DocumentComplete() not run at
all!
Is this problem related to the version of SHDOCVW.DLL? If so, how to
tackle the problem? since SHDOCVW.DLL can not be redistributed.
Any hints be appreciated.
.
- Follow-Ups:
- Re: DocumentComplete event failed to fire in different version of SHDOCVW.DLL
- From: Lou Zher
- Re: DocumentComplete event failed to fire in different version of SHDOCVW.DLL
- From: Sheng Jiang[MVP]
- Re: DocumentComplete event failed to fire in different version of SHDOCVW.DLL
- Prev by Date: Re: How To Avoids CLR GC operation
- Next by Date: Re: How To Avoids CLR GC operation
- Previous by thread: Re: How To Avoids CLR GC operation
- Next by thread: Re: DocumentComplete event failed to fire in different version of SHDOCVW.DLL
- Index(es):
Relevant Pages
|
Loading