Click here to Skip to main content
15,887,214 members
Articles / Programming Languages / C#

A FileDialog.Filter generator for all supported images

Rate me:
Please Sign up or sign in to vote.
4.85/5 (14 votes)
18 Sep 2011CPOL 60K   4  
Recently, I had to write a quick app to load images into a database, and wanted to restrict the file type to just images. You can do this with the OpenFileDialog.Filter property, but it is a pain working out what file extensions to permit.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
CEO
Wales Wales
Born at an early age, he grew older. At the same time, his hair grew longer, and was tied up behind his head.
Has problems spelling the word "the".
Invented the portable cat-flap.
Currently, has not died yet. Or has he?

Comments and Discussions