Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formating a floppy disk
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00410342
Message ID:
00413143
Vues:
30
How to make that unattended/automatic format?

>>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform