Drive Property Details
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
drivelistbox.Drive[ = drivespec$]
Usage Notes
■ When reading this property, the selected drive is returned in the "C:"
format.
■ When writing to this property:
• Only the first character of the string is significant (the string is
not case-sensitive).
• Changing the setting for Drive causes a Change event.
See: ◄Change Event►
• Selecting a drive that is not present causes an error.
■ Setting this property also regenerates the drive list. This provides a
way to track network connections that were added since the control was
created. See: ◄Drive List Box Control►
■ The Drive property returns a different value from ListIndex, which
tracks the list box section. See: ◄ListIndex Property►