Get physical drive index number of system partition or by partition letter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fro1n
    New Member
    • Jun 2014
    • 3

    Get physical drive index number of system partition or by partition letter

    hi all. I am struggling to get physical drive index number of system partition or by partition letter using vba.
    Last edited by zmbd; Apr 27 '15, 09:03 PM. Reason: [z{sorry, we do not normally allow cross posting from other forums. Please post the properly formatted code (cutnpaste-select-clickon[CODE/]}]
  • zmbd
    Recognized Expert Moderator Expert
    • Mar 2012
    • 5501

    #2
    If you can tell us what the workflow of your project is perhaps there is an easier solution. What you are attempting is made difficult for a reason :)

    Comment

    • Fro1n
      New Member
      • Jun 2014
      • 3

      #3
      workflow: i am using physical hdd serial for protection using activex control.
      In case of single hdd attached to pc, i can get the serial of primary hdd shown as index no:0 but for multiple hdd attached this creates a problem i.e to use which index no.
      For this reason i am trying to get hdd index of c:\ partition on any other which is system partition through VBA.

      Regards.

      Comment

      • zmbd
        Recognized Expert Moderator Expert
        • Mar 2012
        • 5501

        #4
        You might find this to be more useful:
        It's a very old thread; programmaticall y obtain the hard disk's serial number from VBA?

        Comment

        Working...