Location:
Search - formatdisk
Search list
Description:
Platform: |
Size: 27608 |
Author: |
Hits:
Description: 格式化软盘源代码
format floppy disk-formatted floppy disk source code format floppy disk
Platform: |
Size: 15689 |
Author: cohoo |
Hits:
Description: 磁盘格式化是计算机用户经常使用的操作之一,但是对于如何编程实现磁盘格式化,很多人却不清楚。很多人认为磁盘格式化应该需要编写负载的VXD或者WDM驱动程序来直接对硬件进行操作。世界上完全可以通过调用一个简单的Shell函数来实现这一功能。-disk is formatted computer users often use one of the operation, but how programming disk format, but many people do not know. Many people think that the disk format should require the preparation of the load or WDM VXD driver to directly to the hardware to operate. The world can by calling a simple function of the Shell to achieve this function.
Platform: |
Size: 27875 |
Author: 程 |
Hits:
Description: 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盘。
-Visual Basic 6.0 can be seen by calling the API function formatting a disk, both floppy disk or hard disk. Open a new project (a project), if you have not changed the default mode, Then Visual Basic 6.0 will automatically add a <form documents, <form in adding a control order, it is copyed into the code below. Option Explicit Private Declare Function SHFo rmatDrive Lib "shell32" (ByVal Hend AS Long, ByVal Drive AS Long, ByVal FormatID AS Long, ByVal Options AS Long) as Long Private Sub Forma tDisk (intDrive as integer, blnQuickFormat as Boolean) dim lngReturn As Lo Vi if (blnQuickFormat) then lngReturn = SHForm atDrive (0, intDrive, 0
Platform: |
Size: 922 |
Author: hasia |
Hits:
Description: 磁盘格式化是计算机用户经常使用的操作之一,但是对于如何编程实现磁盘格式化,很多人却不清楚。很多人认为磁盘格式化应该需要编写负载的VXD或者WDM驱动程序来直接对硬件进行操作。世界上完全可以通过调用一个简单的Shell函数来实现这一功能。-disk is formatted computer users often use one of the operation, but how programming disk format, but many people do not know. Many people think that the disk format should require the preparation of the load or WDM VXD driver to directly to the hardware to operate. The world can by calling a simple function of the Shell to achieve this function.
Platform: |
Size: 27648 |
Author: 程 |
Hits:
Description: 格式化软盘源代码
format floppy disk-formatted floppy disk source code format floppy disk
Platform: |
Size: 15360 |
Author: cohoo |
Hits:
Description: 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盘。
-Visual Basic 6.0 can be seen by calling the API function formatting a disk, both floppy disk or hard disk. Open a new project (a project), if you have not changed the default mode, Then Visual Basic 6.0 will automatically add a <form documents, <form in adding a control order, it is copyed into the code below. Option Explicit Private Declare Function SHFo rmatDrive Lib "shell32" (ByVal Hend AS Long, ByVal Drive AS Long, ByVal FormatID AS Long, ByVal Options AS Long) as Long Private Sub Forma tDisk (intDrive as integer, blnQuickFormat as Boolean) dim lngReturn As Lo Vi if (blnQuickFormat) then lngReturn = SHForm atDrive (0, intDrive, 0
Platform: |
Size: 1024 |
Author: hasia |
Hits:
Description: 格式化磁盘的源代码,希望对大家编写有帮助-Source code to format the disk, we want to write helpful
Platform: |
Size: 892928 |
Author: 士大夫 |
Hits:
Description: 摘要:C#源码,系统相关,格式化
C#格式化磁盘,在下拉框中选择盘符,点击下边的按钮即可格式化磁盘,注意:请谨慎测试,以免造成不必要的损失。
-Abstract: The C# source code, system related to format C# formatted disk in the drop-down box, select the drive letter, click the below button to format the disk Note: Be careful test, in order to avoid unnecessary losses.
Platform: |
Size: 14336 |
Author: 刘杰 |
Hits:
Description: 利用Delphi实现格式化磁盘,包括软盘和硬盘驱动器的各个分区,测试时候要小心,不要误操作-Delphi formatted disk, including floppy and hard disk drive partition, test time to be careful, do not misuse
Platform: |
Size: 180224 |
Author: Zhou |
Hits: