Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
6
Answers
Select a folder using OpenFileDialog folder
Dinesh Santhalingam
7y
220
1
Reply
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
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
Displaying Lines in separate message boxes
C program with strings