Hi all Can anyone tell me how to find my hard drive serial number? Thanks Reston
This must have been covered a million times. Try using the forums search function.
Lee Saunders Win XP Professional : VB6 Enterprise / VB 2005 Express History admires the wise, but it elevates the brave.
Try this one <vbcode> Private Sub Command2_Click() Dim fso As New Scripting.FileSystemObject Dim dr As Scripting.Drive 'Get a reference to the drive object Set dr = fso.GetDrive("C") MsgBox Hex$(dr.SerialNumber) End Sub </vbcode>
Look Here http://www.vbforums.com/showthread.p...=serial+number
Laserman VB code and tips Link to Google Vb Code
Forum Rules