retrieving file associated icon

shaheed

Member
Joined
Jun 3, 2004
Messages
20
Programming Experience
1-3
how can we retrieve an icon for the associated file extension??? can someone just help me out in writing a function that takes an extension (such as .doc; i am not passing a file name as an argument because it should not be mandatory to have some physically existing file on the hard disk to get icon for that particular file type; i want that if i just provide an extension then function shall return its associated icon or else, if extension is not correct or there is no associated icon for provided argument, then simple window icon shall be returned) as an argument and then returns an icon associated with that passed argument?? thanks in advance for your replies.
 
Last edited:
Back
Top