Retrieve Drive Information Using Shell API

Category:
System/API
Type:
Snippets
Difficulty:
Intermediate
Author:
Marcel Slooff

Version Compatibility: Visual Basic 6

More information:
This simple code allowes you to retrieve information about a drive. It returns drive information like: 'Local drive', 'Nework drive' and 'Cdrom station'. You can easily modify to read the structure retrieved to return other information about the drive.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: