I need to select the folder by using the OpenFiledialog option .I tried something in my below code.But i cant able to select the folder using that Code. please help me to solve this issue.
- ofd = new System.Windows.Forms.OpenFileDialog();
- ofd.Filter = "Folders|\n";
- ofd.AddExtension = false;
- ofd.CheckFileExists = false;
- ofd.DereferenceLinks = true;
- ofd.Multiselect = false;
- ofd.ShowDialog();
Please help me to solve this.
Thanks Regards,
Dinesh
Tapan PatelPosted Oct 4, 2017, 9:36 AM
Manas MohapatraPosted Oct 4, 2017, 9:05 AM
Sundaram SubramanianPosted Oct 4, 2017, 8:26 AM
Dinesh SanthalingamPosted Oct 4, 2017, 8:23 AM
Manas MohapatraPosted Oct 4, 2017, 2:27 AM
Sundaram SubramanianPosted Oct 4, 2017, 2:24 AM