المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Default file image



C# Programming
10-13-2009, 03:01 AM
Does anyone know if there is a way of getting the default image of a file to show in a file browser.

ie .txt image will be notepad etc.

Is there a way of finding this from "System.io.DirectoryInfo" or is there some other way i could retrieve this name.

I can then display the correct type of image for the file in my browser
)UI.Entry(Image.FromFile("FolderFull_125x125.png"

Thanx George