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