Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP or API function to obtain disk serial number?
Message
De
17/06/1997 21:46:22
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00036725
Message ID:
00036726
Vues:
39
The most elegant way :) is to use my DriveInformation VFP class. You can download it from the download corner, here on Universal Thread. Just click on the cabinet icon and choose "Classes - VCX" category.

You can retrieve the serial number as well as many other info (about drives) using this class. In the help file you'll find a code sample, too.

Enjoy it,
Vlad

>Is there such an API function that can obtain the serial number of a
>disk (hard disk, CD-ROM, etc.)? I'm writing a catalog program in VFP
>5.0 to organize my CDs and I wanted to retrieve each CDs serial
>number. You can see it when you do a directory listing in DOS, so
>I know it's got to be obtainable (hopefully elegantly!).
>
>Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform