dialog box problem

rangerbud249

Active member
Joined
Aug 18, 2004
Messages
27
Programming Experience
Beginner
can someone help me with a dialog box problem. I need to be able to select files from my dialog box.

using the code below only allows me to view the folder and not the file inside the folders.
<
dlgDirectory.SelectedPath = "C:\"
dlgDirectory.Description = "Select a Folder."
'show the directory selection window.
If dlgDirectory.ShowDialog() = DialogResult.OK Then
mydirname = dlgDirectory.SelectedPath
End If
>

can you help me please?

thanks
Jose
 
Back
Top