aaxDriveManager ActiveX Control
 |
The aaxDriveManager ActiveX Control
is a module that gives you an easy access to manage disk and CDROM
drives. With this component, you can:- Eject CD and media;
- Query for drive types and availability;
- Get drive capacity and free space;
- Get/Set volume label
|
This component can be used with disk
drives, CD-ROM drives, floppy drives, and other removable drives (Zip,
Castlewood ORB, etc)
This component comes with full
documentation and many Visual Basic samples.
Usage sample:
Ejecting drive D: sample
aaxDriveManager1.SelectDrive("D:")
aaxDriveManager1.EjectVolume() |
Getting drive C: information
aaxDriveManager1.SelectDrive("C:")
' Does drive exist, ready, and ejectable
Dim b As Boolean
b = aaxDriveManager1.DriveExist()
b = aaxDriveManager1.DriveReady()
b = aaxDriveManager1.DriveEjectable()
' Get drive space, in bytes
Dim v As Double
v = aaxDriveManager1.GetDriveFreeSpace()
v = aaxDriveManager1.GetDriveCapacity()
' Change the volume label
aaxDriveManager1.SetVolumeLabel("NewLabel") |
|
- Awards -
   
|