secondo me hai definito una classe nel tuo progetto che si chiama esattamente DriveInfo e va in conflitto con il tipo dato del framework, prova a riscrivere la riga così:
Dim allDrives() As System.IO.DriveInfo = DriveInfo.GetDrives()
Michael Denny | Visual C# MVP
http://blogs.dotnethell.it/Regulator/
http://dennymichael.wordpress.com
http://mvp.microsoft.com/mvp/Michael%20Denny-5000735
Twitter: @dennymic