浏览对话框以多选文件和文件夹VB.NET [英] Browse dialog to multi select files and folder VB.NET

查看:309
本文介绍了浏览对话框以多选文件和文件夹VB.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从同一浏览对话框中选择文件和文件夹,并将其添加到lisview,所以有什么帮助吗?

i want to select files and folder from the same browse dialog and add it to lisview, so any help please?

推荐答案

与相同的(标准)对话框!您需要使用 OpenFileDialog [FolderBrowserDialog [讨论 [ ^ ].

您可以使用 CheckedListBox [ ^ ],但执行列出字段和目录属于您;)
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 ;)


这篇关于浏览对话框以多选文件和文件夹VB.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆