B
Brian P. Hammer
All - How can I get an icon associated with a particular file extension and
then get the icon displayed in a picturebox?
I have an app with a picturebox. The picturebox displays pictures and other
files stored in SQL. If the SQL data is an image, it displays the image but
if it is, say a word doc, it displays an image I created that says "Not an
Image". I would like to display the icon associated with the particular
file type inspectead. So, when a user adds a word doc, the icon is shown in
the picturebox or adobe or whatever else the user might save to the
database.
Better even yet, would be to load a preview of the document into the
picturebox, like Adobe does in the "thumbnail" view of a windos folder.
Thanks,
Brian
then get the icon displayed in a picturebox?
I have an app with a picturebox. The picturebox displays pictures and other
files stored in SQL. If the SQL data is an image, it displays the image but
if it is, say a word doc, it displays an image I created that says "Not an
Image". I would like to display the icon associated with the particular
file type inspectead. So, when a user adds a word doc, the icon is shown in
the picturebox or adobe or whatever else the user might save to the
database.
Better even yet, would be to load a preview of the document into the
picturebox, like Adobe does in the "thumbnail" view of a windos folder.
Thanks,
Brian