-
向u盘拷贝文件
调用windows的dl文件,获取u盘在pc上的盘符,然后向u盘中拷贝文件。
源方法如下。
判断指定驱动器的类型:GetDriveTypeA函数
该函数能依据根目录识别1个驱动器是软驱或光驱或硬盘等。声明:
Declare Function GetDriveType Lib "kernel32" Alias "GetDriveTypeA" (ByVal nDrive As String) As Long
参数nDrive:驱动器根目录路径的字符串,如"C : ".
函数返回值为1个常数,指定驱动器类型:DRIVE_ REMOVABLE=2,软驱; REMOVABLE是可移动的
如果驱动器不能识别,则返回0,如指定目录不 DRIVE_ FIXED=3,硬盘。
存在,则返回1。 DRIVE _REMOTE=4,网络驱动器;
DRIVE _CDROM=5,光驱;
DRIVE_ RAMDISK=6虚拟磁盘
调用如:
Private Const DRIVE_CDROM = 5
- 2023-02-14 04:40:03下载
- 积分:1
-
asp.net的一个小小示例,他是自动连接数据库的
asp.net的一个小小示例,他是自动连接数据库的-Asp. Net of a small sample, he is automatically connecting to the database
- 2022-11-01 11:25:03下载
- 积分:1
-
正则表达式,不错的好东西,有需要了解和学习的下载不吃亏
正则表达式,不错的好东西,有需要了解和学习的下载不吃亏-Regular expressions, good good things, there is a need to understand and learn the download does not suffer
- 2023-03-09 03:40:02下载
- 积分:1
-
simple CS scoure code!
简单CS编程源码,帮助对于学习CS编程的初期学者!-simple CS scoure code!
- 2022-06-26 02:57:41下载
- 积分:1
-
自己写的进程调度中时间片轮转算法实现程序
自己写的进程调度中时间片轮转算法实现程序-himself in the process-time scheduling algorithm procedures Web
- 2022-03-24 03:01:44下载
- 积分:1
-
Microsoft Smartphone应用程序设计入门
Microsoft Smartphone应用程序设计入门-Microsoft Smartphone Application Programming entry
- 2022-02-25 21:23:27下载
- 积分:1
-
Screenshot of the VC through the source code to run, vc++6.0
屏幕截图运行通过的VC源代码,vc++6.0-Screenshot of the VC through the source code to run, vc++6.0
- 2022-09-12 23:25:03下载
- 积分:1
-
在 C# 中的计算器
此程序将生成一个简单的计算器,在 C# 中。它会给你一个指南由指导如何生成一个应用程序窗口中。步骤很容易跟随,你会发现它有趣要做一个在 C# 中的程序
- 2022-01-26 07:46:20下载
- 积分:1
-
Turbo c run into the Games, according to key vertical and horizontal control, at...
进入turbo c运行游戏,按上下左右键控制,任何时候按ESC键退出,一个函数用来划方块;一个用来划小方块;一个用来擦去小方块-Turbo c run into the Games, according to key vertical and horizontal control, at any time by the ESC key to exit, a function used to draw box a small box used to draw a small box to remove
- 2022-09-02 15:50:03下载
- 积分:1
-
a good mahjong procedures, from Jiangxi Jiujiang of mahjong rules
一个不错的麻将程序,取自江西九江的麻将规则-a good mahjong procedures, from Jiangxi Jiujiang of mahjong rules
- 2022-08-24 17:39:37下载
- 积分:1