views:

377

answers:

3

Hi All,

Seeing how Notepad++ does this, is it possible to achieve something like this:

http://i28.tinypic.com/fm2gs6.png

using Registry class?

Pointers in the right direction would be highly appreciated.

Have it working great without icon now. :)

i31.tinypic.com/ekokgi.png

I think registering icon is going to be harder.

Thanks, McoreD

+2  A: 

I think here is the code that you need.

Hope it helps.

Jonathan
+1  A: 

It's a bit of a bad idea to do in process shell extensions in .NET for one simple reason - the framework. If, for example, someone wrote a shell extension in .NET 1.0, but yours was in 2.0 and theirs loaded first then explorer loads .NET 1.0 and your extension will fail to load.

However if you're not so worried about that then Shawn Wildermuth documented the process.

blowdart
A: 

If you take a look at the screenshot, you'll see that the Notepad++ icon is not with a transparent background.

Does someone know how to deal with that?

Alex