Your program as ShellExtension (Registry) - Including Resources
I also made a small article about including resources in your .exe as an answer to someone's question about Non-Rectangular Forms.
The Notepad bug issue still spooks around in my mind. So very strange...