how to implement browse for folder in windows application?
i want to implement brows method in my window application friend plz send me code for this
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kunal VaishyaPosted Jul 3, 2012, 9:05 AM
private void Form2_Load(object sender, EventArgs e)
{
FolderBrowserDialog ObjFolder;
ObjFolder = new FolderBrowserDialog();
if (ObjFolder.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
MessageBox.Show("Your FOlder Path Is " + ObjFolder.SelectedPath.ToString());
}
}