Webbrowser / IE FileDownload Event Question
From: John M (M_at_discussions.microsoft.com)
Date: 06/14/04
- Next message: Kim Gräsman: "Re: Access to IWebBrowser2..."
- Previous message: Bill: "Re: Access to IWebBrowser2..."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Jun 2004 06:24:02 -0700
Hi all,
I am attempting to handle the FileDownload, however the event is *never* fired.
I have seen the KB article that says this is caused by threading model issues but even when attempting to trigger the event in a compiled (apartment threaded) ActiveX DLL the event doesn't fire.
I am developing a BrowserHelperObject in VB. I have successfully hooked into the instanciating instance of IE and I am able to intercept other events with no problems.
I am wondering if my problem stems from the Event decleration. When I select the event in VB, I get a stub of:
Private Sub <object>_FileDownload(Cancel As Boolean)
However, the event is listed on the MSDN with a stub of:
Private Sub object_FileDownload( ByRef bCancel As Boolean, ByRef bCancel As Boolean)
Can anyone shed any light on what I might be doing wrong or why my stub is out of date ?
I have IE6 installed and VisualStudio SP6.
Thanks in advance.
- Next message: Kim Gräsman: "Re: Access to IWebBrowser2..."
- Previous message: Bill: "Re: Access to IWebBrowser2..."
- Messages sorted by: [ date ] [ thread ]