Hem / Tips & tricks
Dim fs as Scripting.FileSystemObjectdim drv as drives,dr as drivePrivate Sub Command1_Click()set fs = CreateObject("Scripting.FileSystemObject")set drv = fs.Drivesfor each dr in drv Combo1.Additem dr.DriveLetternextEnd Sub