|
查看: 1146|回复: 1
|
有几个问题 VB 2010
[复制链接]
|
|
|
请问一下,一下几个要怎么写??谢谢
1.如果我已经有select一个directory的address了,
我要怎样才可以get the information from the directory(name ,type, size)(folders and subfolders,and files inside)?
2.如何把已经得到的files list 放进as listview,how to separate the file name, type and size(column).
3.how to save the entire data in the listview into a database(connected already),
and how to save the data in database accordingly (by drive name) |
|
|
|
|
|
|
|
|
|
|
发表于 28-10-2010 11:36 PM
|
显示全部楼层
这在google应该不难找到吧,多花一些时间就可以了。
3个问题都可以用loop完成。 假设 C:\temp\ 有3个file,就loop 3次,可以将所有的data都store在variable,如果你要多过一个的,用array就比较简单处理了。 |
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|