Hi,
I am using vb.net with visual studio 2008. I have the need to have a user select a directory on a network drive to bring up a folder with a very extensive list of files. The file names within this directory are what I'm concerned with and I will need to write all these file names to a textfile in order to do a comparison with an existing text file. The user must be able to select this folder themselves.

At this point I am trying to use the openfiledialog box to open the folder however it is requiring that I select a specific file which is not my need. I need the whole folder.
I currently have a filter that is allowing all files.

fdlg.Filter = "All files (*.*)|*.*|All files (*.*)|*.*

I assume that there is another way to do this but I am currently unaware of that way.

Any suggestions would be greatly appreciated.
Thanks,
Starlight849

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.