0

Prior to this question, I asked this one:

  1. How to add a form to Windows 7 taskbar?

I tried with the Code Project source code, which I can't make it work on the Windows Shell Taskbar either.

  1. Extending Explorer with Band Objects using .NET and Windows Forms

I also tried using the EZShellExtensions.NET library trial, which seems to work fine with Internet Explorer, but I can't have it on the Windows Shell.

  1. EZShellExtensions.Net v2013

Then, there's this GitHub native code in C++ which I gave a try by downloading and compiling it, and it doesn't look like it works either.

  1. Windows-classic-samples/Samples/Win7Samples/winui/shell/shellextensibility/deskbands/

Notice that when implementing the IDeskBand interface, I did implement the IDeskBand2 as well because I need it to work on Windows 7.

Any other useful information may be provided upon request since I really don't know what to provide as useful information other than what is already in.

I know there's a slight difference between an ExplorerBar and a ToolBar, and that is where to register it. I've been working on this for days, I just can't make it.

So, where to register a desk-band in the registry to make it appear as a Toolbar option in the Taskbar contextual menu of Windows 7?

Community
  • 1
  • 1
Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
  • you shouldn't be using .net for shell extensions. – Daniel A. White Nov 30 '16 at 20:26
  • @DanielA.White: I don't mind to use either .NET or native C++, as long as it works. Both ways are feasible, according to the articles provided in the link with the question's body. Besides, starting from .NET 4, since more than one CLR can be loaded side by side, it is doable in .NET, although not recommended. In the end, the fourth link states being native C++ code, and it doesn't do much good either. – Will Marcouiller Nov 30 '16 at 20:39
  • @ScottChamberlain: I don't care. I need to do it per customer's request. It's doable, and I wanna do it. – Will Marcouiller Nov 30 '16 at 20:44
  • i vaguely remember microsoft removing support for these in windows 7 – Daniel A. White Nov 30 '16 at 20:44
  • @DanielA.White [it looks like it is still supported](https://msdn.microsoft.com/en-us/library/windows/desktop/dd378460%28v=vs.85%29.aspx#deskbands), just that they want you to use thumbnail toolbar where possible instead. – Scott Chamberlain Nov 30 '16 at 20:47

0 Answers0