469,572 Members | 1,674 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,572 developers. It's quick & easy.

OpenFileDialog filter

I understand how the filter and filterindex works in the OpenFileDialog
class. However, I want to filter files that don't have extensions, but the
filter doesn't seem to understand this type of file name. Do you have any
suggestions on how to do this?
--
Steve
Nov 17 '05 #1
4 6938
Steve Teeples wrote:
I understand how the filter and filterindex works in the OpenFileDialog
class. However, I want to filter files that don't have extensions, but the
filter doesn't seem to understand this type of file name. Do you have any
suggestions on how to do this?


try *.
Nov 17 '05 #2
Steve Teeples wrote:
I understand how the filter and filterindex works in the OpenFileDialog
class. However, I want to filter files that don't have extensions, but the
filter doesn't seem to understand this type of file name. Do you have any
suggestions on how to do this?


what i mean is "*." not a sentence ending with * then a period to
signify that the sentence was a statement, and not a question.

Nov 17 '05 #3
What is shows is a list of the folders within the given directory, not a list
of files without extensions. Any other ideas?

--
Steve
"jeremiah johnson" wrote:
Steve Teeples wrote:
I understand how the filter and filterindex works in the OpenFileDialog
class. However, I want to filter files that don't have extensions, but the
filter doesn't seem to understand this type of file name. Do you have any
suggestions on how to do this?


what i mean is "*." not a sentence ending with * then a period to
signify that the sentence was a statement, and not a question.

Nov 17 '05 #4
Steve Teeples wrote:
What is shows is a list of the folders within the given directory, not a list
of files without extensions. Any other ideas?


well, that should show both, but no, no other ideas.

Nov 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Lina | last post: by
4 posts views Thread by Nagachandra Sekhar Grandhi | last post: by
4 posts views Thread by Michael Grosse | last post: by
6 posts views Thread by barbara_dave | last post: by
6 posts views Thread by Mike | last post: by
8 posts views Thread by Z.K. | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.