-
向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
-
本代码包包括超长整数相加、积分实现、数制转换、单词统计等...
本代码包包括超长整数相加、积分实现、数制转换、单词统计等-the code include long integer column, integral realization of a number of system conversion, word statistics
- 2022-09-04 16:50:03下载
- 积分:1
-
目标跟踪与跟踪算法模型及其算法实现。
物体追溯与跟踪算法模型与算法实现。提出通用的追溯和跟踪模型,适合物流以及产品质量追溯中的应用。- Object trace and tracking algorithm model and algorithm implementation.
- 2023-03-09 22:50:03下载
- 积分:1
-
自动查找并删除VC生成的临时文件
自动查找并删除VC生成的临时文件-automatic VC find and delete temporary files generated
- 2023-01-14 19:00:03下载
- 积分:1
-
It is no easy task to design a library for generic programming. Java s solution...
It is no easy task to design a library for generic programming. Java s solution has many nice features but is certainly not the only possible approach.
- 2023-05-11 15:55:03下载
- 积分:1
-
一个很好的菜单操作例子
一个很好的菜单操作例子-a good example of the menu
- 2022-02-15 05:32:59下载
- 积分:1
-
产生随即数,此压缩包包括2个随即数程序,我就不分开打包了,第一个产生相同随即数,第二个产生不同,都是根据时间来自动生成。供大家学习参考...
产生随即数,此压缩包包括2个随即数程序,我就不分开打包了,第一个产生相同随即数,第二个产生不同,都是根据时间来自动生成。供大家学习参考-then have a few, including the package of compressed two then several procedures, I do not separate bundles, No. 1 then have the same number, and the second to have different are based on time to automatically generate. We reference for the study
- 2022-06-03 00:19:21下载
- 积分:1
-
Josephus问题的顺序表实现 关于Josephus问题的顺序表实现
Josephus问题的顺序表实现 关于Josephus问题的顺序表实现-Josephus table in the order of Josephus achieve in the order table to achieve
- 2022-07-13 06:52:13下载
- 积分:1
-
Lister les chemins trop longs
- 2023-01-27 01:55:04下载
- 积分:1
-
在 VC下,使按钮不加载资源图片,而是让用户选择自己的图片加载在按牛表面上。...
在 VC下,使按钮不加载资源图片,而是让用户选择自己的图片加载在按牛表面上。-in VC, so the button is not loaded Photo resources, but allow users to choose their own pictures by cattle loaded on the surface.
- 2022-02-26 01:36:55下载
- 积分:1