Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HD´S serial numbers...
Message
From
08/10/1999 06:45:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/10/1999 17:26:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00273981
Message ID:
00274117
Views:
28
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform