File type icons

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hopefully this is a simple enough question...

Is there a way to find the default icon for a particular file extension
(.TXT, .DOC, .CPP, etc)? Similarly, how can you access the default icon used
for folders?

Thanks in advance.
 
Thanks for the link, it should help. The only problem is that you seem to
have to provide a valid file location rather than just a file extension. I
guess I'll be able to create a temporary file and extract the icon from that
but it still seems a little unnecessary. For the record, I'm not particularly
interested in whether (for example) an EXE file has a custom icon.

Thanks again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top