版本管利器Visual SourceSafe 6.0实用指南.
标签: SourceSafe Visual 6.0 版本
上传时间: 2015-10-05
上传用户:1583060504
Visual Basic 6.0可以通过调用API函数格式化一个磁盘,无论是软盘还是硬盘。 打开一个新的项目(工程1) ,如果你没有更改过缺省模式,那么Visual Basic 6.0会自动添加一个form1文件,在form1上添加一个命令控件,将下面的代码拷入。 Option Explicit Private Declare Function SHFormatDrive Lib"shell32"( ByVal Hend AS Long,ByVal Drive AS Long,ByVal FormatID AS Long,ByVal Options AS Long) as Long Private Sub FormatDisk(intDrive as integer,blnQuickFormat as Boolean) dim lngReturn As Long if (blnQuickFormat) then lngReturn= SHFormatDrive(0,intDrive,0&,1&) else lngReturn= SHFormatDrive(0,intDrive,0&,0&) end if end Sub Private Sub Command1_Click() call FormatDisk(0,True) End Sub 运行此程序。 注意FormatDisk函数的第一个变量很重要,他的值是0,1,2时代表格式化的分别是:A、B、C盘。
上传时间: 2015-10-05
上传用户:kytqcool
Visual C++.NET精彩编程实例集锦 程序源代码
上传时间: 2013-12-18
上传用户:chens000
Visual C++.NET精彩编程实例集锦 程序源代码
上传时间: 2015-10-06
上传用户:Zxcvbnm
Visual C++.NET精彩编程实例集锦 程序源代码
上传时间: 2013-12-29
上传用户:123啊
Visual C++.NET精彩编程实例集锦 程序源代码
上传时间: 2015-10-06
上传用户:Yukiseop
Visual C++.NET精彩编程实例集锦 程序源代码
上传时间: 2015-10-06
上传用户:Breathe0125
Visual C++.NET精彩编程实例集锦 程序源代码
上传时间: 2015-10-06
上传用户:leehom61
Visual C++.NET精彩编程实例集锦 程序源代码
上传时间: 2014-02-14
上传用户:zm7516678
8种不同的方式实现了Huffman编码算法,使用Visual Studio .NET(建议使用VS .NET 2003或以上版本)或 gcc 3
上传时间: 2014-01-02
上传用户:zhangliming420