You are absolutly correct. I do apologize for the confusing first post. At first I figured it would be just a registry string where I could include the app exe and such for it to launch..not quite so simple im finding out.
Your versioning issue definitly makes me want to rethink it. This is just an app I am goofing around with, not really sure how deep I want to go if I have too. Well my original intent was this - at home I am currently and temporarily working off a dialup account, which logs me off every so often. I wanted something that could stop and resume downloads as my internet comes and goes. I researched it and found some great examples of BITS and decided to go with that. I have a nifty little application that I created based on the class from msdn but to use it I have to do a 'Copy Shortcut' then paste it in my 'Add' form. I was thinking it would be nice to just have it automatically come up when the link is clicked or what not, exactly what youd find with other apps like GetRight. Plus, this is something I wanted to do on my own just to say I've done it, not use a third party application..you know the feeling. So I do appreciate the information given by you and Fabian. Again I apologize for not being very clear. I believe it was late at nite when I sent the email..coffee was already worn off. Steve -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Ian Griffiths Sent: Thursday, August 31, 2006 2:00 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Custom Download manager To be fair, the thing you said you couldn't find anywhere was the registry key. You didn't say that you couldn't find how to change the registry in C# - you just said that you were going to use C# to change it once you found out what the key was. I'm now a little confused as to what you are actually asking for. Presumably you're not stuck on how to change a registry key in C#... (If you are, Googling on "change registry key c# example" solves that one, but since you posted this to the 'ADVANCED' list, I'm guessing that can't be what you were looking for.) I've re-read your original message a couple of times, and Fabian definitely answered the question you asked. So could you clarify what information you're looking for please? My best guess is that you're looking for an example of a COM class that implements IDownloadManager in C#. But that's quite a long way from what you actually asked, so I'm really not sure if that's what you want. But presuming for now that this is what you're looking for, it's challenging because IDownloadManager isn't a type-library-friendly interface, which makes it hard to implement in C#. However, searching for "c# idownloadmanager" finds this: http://www.experts-exchange.com/Programming/Programming_Languages/C_Shar p/Q_21605846.html which shows how to declare the interface in a way that C# can implement it. (I'm not sure if the example shown there is actually correct by the way, but it does illustrate the technique you'll have to use.) Basically, you're in a world of manual COM interop. It's non-trivial. Also, if you are planning on having a C# component be loaded up by Internet Explorer, you might want to rethink your strategy - how are you going to deal with CLR versioning? What if someone else had the same idea as you, and another component on the same machine has already caused, say, v1.1 of the .NET runtime to be loaded into the Iexplore.exe process, but your component requires .NET v2.0? What's going to happen if your component requires V2.0, but some later component added to the machine requires, say 3.1 (or whatever the next version of .NET with a new runtime is)? This versioning issue makes using .NET to implement addins based around an in-process COM plugin model potentially troublesome. There aren't any particularly satisfactory solutions to this problem today. That's not to say it's impossible. But the headaches it can involve mean it's worth considering any alternatives you might have. (If, that is, I understood what you were asking.) -- Ian Griffiths -----Original Message----- From: Steve Welborn Thanks for the information. However when I said I couldn't find it anywhere, I was meaning a C# example of what I need not a C++ version, I viewed plenty of those. -----Original Message----- From: Fabian Schmied > Can anyone tell me if there is a registry key that tells IE what > download manager to use when a link to a file is clicked or if "Save > Target As" is clicked? I cannot seem to find it anywhere. http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/ext/ over view/downloadmgr.asp It was quite easy to find, actually, I just used Google to search for: 'implement internet explorer download manager' - it's the first hit. (Same on MSN.) =================================== This list is hosted by DevelopMentor. http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com