|
-
Oct 12th, 2000, 09:47 PM
#1
Thread Starter
Frenzied Member
Hi.
I recently came across a good floppy formatting code at Planetsourcecode that uses this API:
Private Declare Function SHFormatDrive Lib "shell32" _
(ByVal hwnd As Long, ByVal Drive As Long, ByVal fmtID As Long, _
ByVal options As Long) As Long
I am wondering if there is a way to make the format run without having to click through the Format Dialogue Box.
In other words, no clicking start to begin the format, no clicking 'close' when the format is finished.
Also, does anybody know which formatID will make the dialogue open with the 'Display summary when finished' NOT checked?
thanks all.
Wengang
Wen Gang, Programmer
VB6, QB, HTML, ASP, VBScript, Visual C++, Java
-
Oct 13th, 2000, 12:53 AM
#2
Lively Member
you might consider searching msdn.com for the API options
-
Oct 13th, 2000, 11:58 PM
#3
How about using DOS?
Code:
Shell "Format A:", vbNormalFocus
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
|