|
-
November 16th, 1999, 12:16 PM
#1
format a disk II, the return
I posted a question yesterday("format a disk")
Someone gives me a function in order to answer my question:
option Explicit
private Declare Function SHFormatDrive Lib "shell32.dll" (byval hwnd as Long, _
byval drive as Long, _
byval fmtid as Long, _
byval options as Long) as Long
private Sub Command1_Click()
Dim l as Long
l = SHFormatDrive(me.hwnd, 0, &HFFFF, 0)
End Sub
Great!!! : It launches the explorer utility to format disk.
That was exactly what i needed.
But I don't know how the arguments works, the values they can accept etc...
I want to master the volume name and the size of the disk and the quick format....
The arguments like 'options' and 'fmtid' seem to controls these problems but how?
Can someone help me???
thanks
Fzz
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|