Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formating a floppy disk
Message
 
 
À
29/08/2000 13:41:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00410342
Message ID:
00410401
Vues:
24
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform