Link to home
Start Free TrialLog in
Avatar of NANJU
NANJU

asked on

HDD No

Hi
 
  Is there anyway of extracting Hard Disk Identification No, CDR No and Floppy Disk No
ASKER CERTIFIED SOLUTION
Avatar of Erick37
Erick37
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Usage correction:

Private Sub Command1_Click()
MsgBox Hex(GetSerialNumber("c:\"))
End Sub
Or if you want the NNNN-NNNN format:

Private Sub Command1_Click()
MsgBox Format(Hex(GetSerialNumber("c:\")), "&&&&-&&&&")
End Sub