phunchak
asked on
Filtering on two or more file extensions in a File Dialog Box
Hi there,
I have a file dialog box and right now I can filter these 3 extensions ( "All File Types. "Txt Files" and "Jpg files" ) with the Following:
FileInfo fileinfo = getFileName("All files (*.*)|*.*|Gif files (*.GIF)|*.GIF|Jpeg files (*.jpg)|*.jpg");
How can I combine the Gif and jpeg filters into one so that the user can see all gifs and jpegs together in the directory listing and nothing else?
I have a file dialog box and right now I can filter these 3 extensions ( "All File Types. "Txt Files" and "Jpg files" ) with the Following:
FileInfo fileinfo = getFileName("All files (*.*)|*.*|Gif files (*.GIF)|*.GIF|Jpeg files (*.jpg)|*.jpg");
How can I combine the Gif and jpeg filters into one so that the user can see all gifs and jpegs together in the directory listing and nothing else?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.