In the registry under
HKEY_CLASSES_ROOT, for an MS Word document there is an entry entitled
.DOC.
The default value for it is set to
"Word.Document.8"When I scroll down to "Word.Document.8", there is a node entitled
DefaultIcon, which has it's default
value set to:
C:\Program Files\Microsoft Office\Office\Winword.exe,1
Armed with the above info, I now know that the icon used to display Word documents is the first icon in the Winword.Exe.
How can I use this information to display file type icons in a TreeView control? In other words, how can I "extract" the icon from the EXE and use
it in the treeview/imagelist controls?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people