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 ""
 
Back
Top