>>>If my development computer can see the network neighbohood why can't the VB drive control?
>>
>>Well, drive control uses drives related Windows API (ie physical peripherals) whereas network neighborhood uses the Network API (from Novell and NT services for example, or any network).
>>
>>Drives related Windows API doesn't support UNC names since it's designed in reference to old Win16 standalone machine functions, wher each resource is known physically, ie A:, C:, D:,...
>>
>>If you want to see Network resources you'll have to use the API that fit your needs instead of the drive control OCX.
>>
>>Here you'll find a goo example of using the API :
>>
>>
http://members.aol.com/btmtz/vb/browsdlg/index.htm>>
>>HTH
>Thanks for the information, just down loaded the sample.
>Very useful, it will take a while for me to work out what does what.
>In Foxpro I can get all mapped drives with =getdir()
>
Depending on the environment, you might also be able to use things like the Shell.Application's BrowseForFolder method, which is network- and special folders- aware, or build your own control that uses the Scripting.FileSystemObject to let you dig down (or up) through the file system.
>Gordon.