|
-
Dec 13th, 2000, 08:36 AM
#6
Fanatic Member
Serial Number
Check this code:
Public Function DiskSerialNumber(sDrive As Drive) As String
Rem obtener numero de serial utilizando la libreria de rem objeto del reference
Dim Fso As New Scripting.FileSystemObject
Dim dr As Scripting.Drive
Set dr = Fso.GetDrive(sDrive)
DiskSerialNumber = Hex$(dr.SerialNumber)
End Function
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|