Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hard Drive Serial Number
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01675499
Message ID:
01675500
Views:
76
>I tried to do a search for code to identify the hard drive serial number and I struck out.
>So I did some research and came up with the below. I hope it helps someone
>
>Determine Drive Serial Number
>objFSO = CreateObject('Scripting.FileSystemObject')
>objDrive = objFSO.GetDrive('C:')
>MESSAGEBOX(objDrive.SerialNumber)

This gives me a negative value which is not right.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform