Search code examples
c#wpffilteropenfiledialog

OpenFileDialog Filter not working on Windows 7


I have the following filter set on an OpenFileDialog:

MyApp Files (*.ced, *.cdr, *.wrp, *.wrap, *.out) | *.ced; *.cdr; *.wrp; *.wrap; *.out | All Files (*.*) | *.*

The problem is that the .out files don't appear. Am I doing something wrong?


Solution

  • Figured it out, I had to remove the spaces between the semicolons like so:

    MyApp Files (*.ced, *.cdr, *.wrp, *.wrap, *.out) |*.ced;*.cdr;*.wrp;*.wrap;*.out| All Files (*.*) | *.*