VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Disk Information Class

Alon Hirsch  (3 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Advanced   Wed 3rd February 2021

This class enables you to get various information about the disks / drives in your PC.
It uses API's to retrive the information : Drive type, volume label, available space, space used etc.

Inputs
There is a single public method called GetAllDriveInfo which accepts a drive letter as a parameter (A:). It calls all the private methods in the class and populates all the properties. In order to determine the availabale drives, simply read the AllDrives property which is populated when you instanciate the class.

Returns
Properties for all the drive information.

API Declarations
Some - see the code

Rate Disk Information Class (3(3 Vote))
Disk Information Class.bas

Disk Information Class Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters