I need to allow a user to browse to and select a directory and then capture that as a string so I can search the directory. I have ...
private void btnOpen_Click(object sender, EventArgs e)
// Show the file open dialog box
if (ofdSelectDirectory.ShowDialog() == DialogResult.OK)
String direcotryPath = "";
But that does not let me stop at the direrctory level it makes me select a file AND I am not sure how to capture the path even if I did!