Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I format a disk
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00177270
Message ID:
00177310
Vues:
35
Hi Jean-René,

>I need to format a disk in the drive a:\. I do not want to use the DOS format from VFP with the run command.

The following API call would display the Windows standard format dialog:
Set Library To FoxTools Additive
Declare Integer SHFormatDrive in Shell32.DLL ;
   Integer HWND, Integer Drive, Integer FmtID, Integer Options
SHFormatDrive( _WhToHwnd(_WMainWind()), 0, 0xFFFF,0)
Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform