I want to make an addin to Windows Explorer toolbar using .NET 4. Can anyone please provide sample code?
Asked
Active
Viewed 323 times
1
-
You mean you want to write a shell extension? – SLaks Oct 23 '11 at 20:09
-
1start here http://msdn.microsoft.com/en-us/library/windows/desktop/dd940376(v=vs.85).aspx and work out what type of sample fits you – Carlo Kuip Nov 01 '11 at 07:39
2 Answers
1
Shell extension sample code is included in Microsoft All-In-One Code Framework. You can find the sample at All-In-One Windows Shell Code Samples

Giorgi
- 30,270
- 13
- 89
- 125
1
"My error, I meant toolbar"
Toolbars for both Explorer and Internet Explorer can be developed as Browser Helper Objects.
It is a pain to do in C# (involves a lot of COM interop), but it can be done. See here and here.

Community
- 1
- 1

BlueRaja - Danny Pflughoeft
- 84,206
- 33
- 197
- 283
-
Thanks for the links. Unfortunately, none give me good examples on how to do it in Windows Explorer. I need like a hello word example using .NET. – Phil Nov 01 '11 at 04:40
-
@Phil: That's exactly what [this answer](http://stackoverflow.com/questions/5643819/developing-internet-explorer-extensions/5740004#5740004) is. – BlueRaja - Danny Pflughoeft Nov 01 '11 at 04:51