views:

562

answers:

2

I knew this once but I keep forgetting; How do I allow multiple filetypes in one filter entry of the OpenFileDialog?

Text files|*.txt          // this is OK.

Text files|*.txt,*.text   // how do I get this??
+12  A: 

Semicolon:

files|*.txt;*.text
Kobi
A: 

What if I want to exclude some file types. For example, i want the open file dialog to show all files except .exe, .bat, etc.

So basically a filter to exclude some file types.

kplkumar
It looks like you're asking a new question! Try clicking the "Ask Question" link in the top right corner of the page.
Greg D