![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
|
In windows OS, whitch icon will be displayed for witch file name depends
of the file extension and programme that is set to be activated if that file name is clicked. How can I get those icons for every file extension. Is that written somewhere in registry. When you assign Media player as default player for .avi all .avi files get Media player icon. How that works? How can I use it? ![]() |
|
|
|
|
|
#2 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
You first go to this key:
HKEY_CLASSES_ROOT\.ext where you replace ext by the file extension you are looking the icon for. You take the default value of that key. I'll take the bmp file as example. The default value of HKEY_CLASSES_ROOT\.bmp is Paint.Picture. That means the icon is stored here: HKEY_CLASSES_ROOT\Paint.Picture\DefaultIcon Maybe there is a specific function for it, but this is a way. Good luck ![]() |
|
|
|
|
|
#3 |
|
Programmer
|
Thank you very much. But I still don't know how to get an image that is stored in .exe or .dll file. If you could show me how to do this, or direct me to place where I could learn it, I would be most gratefull.
![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|