I have this weired problem in that when my dialog comes up it shows no files in the directory. I have checked and there are 3 files in the directory, 1 txt file and 2 MDB files. If I select all files it shows all 3.
The Code I am using is:
With OpenFileDialog1
.Filter = "Text Files (*.txt) | *.txt | E-Mails (*.eml) | *.eml | All Files (*.*) | *.*"
If OpenFileDialog1.ShowDialog() = DialogResult.OK Then
' Do something
End If
End With
Can any one spot the problem or offer some advise?