View Single Post
Old Oct 23rd, 2005, 6:22 AM   #1
Ithaqua
Newbie
 
Join Date: Oct 2005
Location: The othe side
Posts: 19
Rep Power: 0 Ithaqua is on a distinguished road
OpenFileDialog Problems

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?
__________________
Cheers
Ithaqua
Ithaqua is offline   Reply With Quote