Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HD´S serial numbers...
Message
De
08/10/1999 06:45:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/10/1999 17:26:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00273981
Message ID:
00274117
Vues:
29
>Someone knows how to do a litle code to get the HD´s serial number in Visual Fox Pro 5.0?


If scripting object is available (Win98, IE4-5 installed) you could also do this :
Lparameters tcDrive
oFS = CREATEOBJECT('Scripting.FileSystemObject')
oDrive = oFS.GetDrive(oFs.GetDriveName(oFs.GetAbsolutePathName(tcDrive)))
? oDrive.SerialNumber
PS:Serialnumber can be altered programmatically.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform