>I am trying to display all of the available drives in a combo box for the user to choose from and all of the subdirectories under that drive in a list box for them to choose from. Basically I want to allow the user to select the drive and subdirectory where they will copy files to and retrieve files from. Any help would be appreciated.
VFP's native GETDIR() provides most of the functionality you want; I've written an enhanced GetDir() that uses the Shell.Application object to give access to a bit more functionality, and Bela Bodecs wrote a really neat .FLL which provides even more capability, but requires you to include his (freely redistributable) .FLL with your project to make it work.