Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formating a floppy disk
Message
 
 
To
29/08/2000 13:41:50
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00410342
Message ID:
00410401
Views:
23
>>Someone can tell me how can I invoke the format window (like Windows Explorer) from VFP 6 (SP4) to format a diskette?
>
>Hi Emerson
>
>#define SHFMT_ID_DEFAULT 0xFFFF
>
>DECLARE INTEGER SHFormatDrive IN shell32.dll ;
> INTEGER hwnd,;
> INTEGER diskID,;
> INTEGER fmtID,;
> INTEGER Option
>
>x=SHFormatDrive(0,0,SHFMT_ID_DEFAULT,0)

Thanks :) I'm lurking :)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform