>>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