Drive List

TexG

Regular
Joined
Apr 2, 2003
Messages
88
Location
San Antonio Texas
Hello All,

Looking for a way to show all the drives on my system.

Would like it to even show the folders graphicly.

Only want to beable to pic a drive or subdir nuthing else.

Can you all help?

Thanks
 
To get all drives you need to use the directory class:
Visual Basic:
        Dim driv As System.IO.Directory
        Dim drivelist() As String 'the return value is an array so you need one
        drivelist = driv.GetLogicalDrives()
 
Back
Top