c# - How do you embed a resource so that it can be accessed for icons? -


i have c# project using vs2005. have 2 icons, 1 application, , 1 files associated application.

i have associated these files application, , know how set icons in registry, can set them application icon because seems external resource.

i've tried having icons either in resource file (.resx), or seperate file (.ico) compiled exe @ compile time, neither work.

to show mean, i've built app , opened resource hacker, , you'll notice 1 of 2 icons there, using 1 icon , 1 icon group.

http://img442.imageshack.us/img442/3189/resourcesx.jpg http://img442.imageshack.us/img442/3189/resourcesx.jpg

i not think can done. may have resort c++ project can embedd icons in way can recognized shell. note not mean dll has contain else ;) don't think .net assemblies can contain shell compatible resources.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -