Click here to Skip to main content
15,910,210 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to select files and folder from the same browse dialog and add it to lisview, so any help please?
Posted
Comments
Fredrik Bornander 13-Mar-12 5:29am    
WinForms or WPF?
Leecherman 8-Jul-12 7:19am    
Thanks for your reply, and sorry for late reply...
the link is not working = Page Not Found
Using browser dialog for files will be good, but will not be for the folders, because i want to selected multi folders...

1 solution

You can't do it with the same (standard) dialog! You need to use OpenFileDialog[^] to browse for files and FolderBrowserDialog[^] to browse for folders. Why? Read this discusion[^].

You can achive this writing custom dialog using CheckedListBox[^], but the implementation of listing fiels and dirs belongs to you ;)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900