Results 1 to 4 of 4

Thread: Disc serial number

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2001
    Location
    Ca
    Posts
    124

    Unhappy Disc serial number

    Hi all

    Can anyone tell me how to find my hard drive serial number?

    Thanks Reston

  2. #2
    Addicted Member Lee_S's Avatar
    Join Date
    Dec 2000
    Location
    New Zealand
    Posts
    250
    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.

  3. #3
    Junior Member
    Join Date
    Jul 2003
    Location
    Taiwan
    Posts
    29
    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>

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width