How to filter files with NO extension

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using the Filter property within OpenFileDialog. I understand how to
filter files with extensions, but this time I need to filter files without
extensions. Can someone tell me how this is done?
 
Hi Steve,

This is untested, but the DOS dir command will show files without extensions using "*."
 
When applying the filter "PO Files | (*.) | *." with a FilterIndex of 1
returns an empty openfiledialog box. Is there another method?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top