Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
6
Reply
Select a folder using OpenFileDialog folder
Dinesh Santhalingam
Oct 4 2017 1:47 AM
197
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
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
Displaying Lines in separate message boxes
C program with strings