在USB驱动器中传输文件 [英] Transfer file in USB Drive

查看:125
本文介绍了在USB驱动器中传输文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在不使用usb驱动器中的openfiledialog的情况下传输任何文件...... ???请帮我快......

How i can transfer any file without using openfiledialog in the usb drive...??? pls help me fast....

推荐答案

编写代码自行复制。



OpenFileDialog不会复制文件。它所做的就是让用户选择要复制的文件。你仍然需要编写代码来复制文件!



看看文件类 [ ^ ]文档。有一种方法可以帮助你做到这一点。
Write the code to copy it yourself.

The OpenFileDialog does not copy files. All it does is let the user select files to copy. You still have to write the code to copy the files!

Look at the File class[^] documentation. There's a method in there that looks like it would help you out to do this.


这篇关于在USB驱动器中传输文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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