本文介绍了删除文件或文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的朋友们,
无论如何要在vb中编写程序以删除计算机中的文件?例如,我在C盘中有一个.txt文件,这是C:\ testing.txt。所以,现在我想点击vb中的一个按钮并删除这个文件。当然,我想从计算机中删除任何文件,所以我希望可以有一个文本框或一些下拉框,可以从我的电脑中选择任何文件。
是吗可能吗?
感谢任何回复。谢谢。
最好的问候。
解决方案
展开 | 选择 | Wrap | 行号
Dear friends,
Is there anyway to write a program in vb in order to delete a file in my computer?For instance, I have a .txt file in C Drive, which is "C:\testing.txt". So, now I want to click a button in vb and delete this file. Of course, I would like to delete any file from the computer, so I hope can have a text box or some drop down box that can choose any files from my computer.
Is it possible?
Appreciate for any reply. Thank you.
Best Regards.
解决方案
Expand|Select|Wrap|Line Numbers
这篇关于删除文件或文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!