How to prevent the selection of folders in an OpenFileDialog box?
Can we apply a filter so that they are not selectable?
How else are you going to be able to navigate into them?
Good question !
Can we browse without being able to select them?
So you want an OpenFileDialog window that does NOT allow the user to burrow into a subfolder (or, for that matter, navigate “up”)? Like Tim said, I’m not sure I get this.
If your app already knows the starting directory (and it must, from the sound of it), all I can think of is “rolling your own” and displaying the files in a listbox or something.
I realize that my question was ridiculous, please disregard it!