OpenFileDialog and no extension

  • Thread starter Thread starter Polo
  • Start date Start date
P

Polo

Hi

I try to set the filter of the OpenFileDialog to filter files without
extension but without success

-> dlg.Filter = "File without extension (*.)|*.";

Thank you in advance
 
Hi

I try to set the filter of the OpenFileDialog to filter files without
extension but without success

-> dlg.Filter = "File without extension (*.)|*.";

Set it to blank. That means no filtering, which appears to
be your goal.

dlg.Filter = null or ""
 

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