|
Short story: Provides all kinds of information about any drive in the system.
Longer description from old site: click here.
To be edited...
This sample, or the one from which it originally derived, was published (or at least peripherally mentioned) in the following article(s):
- Call the Right Function, Ask the VB Pro, VBPJ, September 1999
This sample uses the following API calls:
Module Library Function CDriveInfo.cls kernel32 FreeLibrary
GetDiskFreeSpace
GetDiskFreeSpaceEx
GetDriveType
GetModuleHandle
GetProcAddress
GetVolumeInformation
LoadLibrary
SetVolumeLabelMFreeSpace.bas kernel32 FreeLibrary
GetDiskFreeSpace
GetDiskFreeSpaceEx
GetModuleHandle
GetProcAddress
LoadLibraryDon't see what you're looking for? Here's a complete API cross-reference.
Please, enjoy and learn from this sample. Include its code within your own projects, if you wish. But, in order to insure only the most recent code is available to all, I ask that you don't share the sample by any form of mass distribution. Download DrvInfo.zip, 15Kb, Last Updated: Thursday, March 7, 2002
The following resources may also be of interest:
- FileControls - Combines the native file controls into a single-file, easy-to-use, no-dependency UserControl.
- FileInfo - Provides all kinds of information about any file in the system or network, by replicating the General and Version tabs of Windows' File Properties dialogs.