Download Manager does not fire



Hi,

I'm trying to build a download manager for IE 6.

I've build a COM object that implements the IDownloadManager Interface and
its Download method.

How can I tell IE to use this object ?

In the doc, it is written that I have to add a "DownloadUI" either in
HKLM\Software\Microsoft\Internet Explorer or HKCU\Software\Microsft\Internet
Explorer.

I suppose my COM object is well registered since I can found in CLSID in
registry.

When I click on a link to download a file, the standard download Manager for
IE fires, not mine.

Did I missed something ?

Thanks,
Steve

PS: I've build my download manager using VS 2005 and C#.

Here is my code :

public class Wrapper

{

[

ComImport,

GuidAttribute("988934A4-064B-11D3-BB80-00104B35E7F9"),

InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown),

ComVisible(false)

]

public interface IDownloadManager

{

void Download(

IMoniker pmk,

IBindCtx pbc,

uint dwBindVerb,

int grfBINDF,

IntPtr pBindInfo,

[MarshalAs(UnmanagedType.LPWStr)]System.String pszHeaders,

[MarshalAs(UnmanagedType.LPWStr)] System.String pszRedir,

uint uiCP

);

}

}



[Guid("616C2083-C1D9-46b8-86D4-F6F9D435266B")]

[ComVisible(true)]

[ClassInterface(ClassInterfaceType.AutoDispatch)]

public partial class Downloaded : Component,
SmartDownload.Wrapper.IDownloadManager

{

public Downloaded()

{

InitializeComponent();

}

public Downloaded(IContainer container)

{

container.Add(this);

InitializeComponent();

}

#region IDownloadManager Members

public void Download(

IMoniker pmk,

IBindCtx pbc,

uint dwBindVerb,

int grfBINDF,

IntPtr pBindInfo,

string pszHeaders,

string pszRedir,

uint uiCP

)

{

System.Windows.Forms.MessageBox.Show("Test");

}

#endregion

}


.



Relevant Pages

  • Re: Download Manager
    ... I looked and it is indead part | of Netscape. ... |>Netscape may and Mozilla certainly does have a built-in ... That's how I know Mozilla has a download |>manager built-in. ... How do I start up the Download Manager in XP Home | Ed? ...
    (microsoft.public.windowsxp.general)
  • Re: Implementing a Custom Download Manager and Integerating it with IE
    ... You are going to have to do the conversion yourself. ... require a great deal of COM interop. ... download manager, and the running app. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Implementing a Custom Download Manager and Integerating it with IE
    ... There is a knowledge base article which has a sample of what you have to ... I am trying to create an application which is a Download Manager. ... In this post also it has been said to implement the IDownloadManager, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Downloading in Mozilla
    ... With neither quill nor qualm, ... >>> download manager off so I don't get a dialog box every time. ... >> to* open a progress dialog for images as well as app, etc files, honest. ...
    (alt.html)
  • RE: Cant Download MS Updates...
    ... My thanx to both PA Bear and Yazinki (I've no problem w/ your English). ... entire download again from the beginning. ... MS Update apparently does not permit a third party download manager ... > I have been using win xp sp2 with a dial up connection & have had no trouble ...
    (microsoft.public.windowsxp.general)