Results 1 to 1 of 1
  1. #1
    Join Date
    Oct 2003
    Posts
    8

    Unanswered: hdd serial number in vb (manufacturer serial)

    Related with HDDserial.zip :

    http://www.freevbcode.com/source/HDDSerial.zip

    1-) It properly works on my machine (win98)

    2-) It does not work on other machine (win98). it gives errors with some proper running:
    opensmart function gives required value (not -1)
    getsmartversion function gives value=true
    len(versionparam)=24
    verparam.bIDEDeviceMap =0 (it is problem)
    checksmartenable function gives value=false (it is problem)
    3-) It does not work on other machine (WINNT). it gives errors opensmart function gives value = -1 (INVALID_HANDLE_VALUE) (it is problem)

    What is missing in other machines ?
    How can I solve these problems on both WIN98, WINNT and Win XP machines ?

    (Can there be SMART-drive problem or Microsoft Script Runtime or OLE Automation ?)

    Or , is there any better way to obtain hdd serial in vb ?
    Attached Files Attached Files

Posting Permissions

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