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.
User Profile
Collapse
-
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/]}] -
hyperpau thanks for simple global error customizing technique.
but plz correct typing error in HANDLING FORM ERRORS GLOBALLY which I figured out after spending some time.
FErrorHandler is written as FErrorHanlder in form's On Error event calling.
the correct calling code is
...Code:Private Sub Form_Error (DataErr as Integer, Response as Integer) MyCodes.FErrorHandler (DataErr) Response
Leave a comment:
No activity results to display
Show More
Leave a comment: