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
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Kunal VaishyaRank #990 · 2K reputationPosted Jul 3, 2012, 5:05 AM EDT
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());
}
}