>I've been using the GETDIR() function to allow users of an application to specify where the data for their program is located. The returned path is checked to make sure the tables required are located there, and if so, the path is stored in a settings table. In the past, if the data is located somewhere other than the local machine, a mapped drive to that machine had to exist (so the user could select that drive letter from the GETDIR() dialog).
>
>Now, I would like the user to be able to specify a UNC rather than being required to have a "hard" mapped drive to the host machine. I don't think the GETDIR() function will allow the user to see folders on any machines (drives) that aren't mapped, so I'm looking for a way to do this. (The same way that Windows Explorer shows the "Network Neighborhood" in Win98, etc.)
>
You can use Bela Bodecs' BBGETDIR() ActiveX control, or the code I wrote up in the FAQ demonstrating an enhanced GetDir() replacement using Shell.Application to handle the GetDir() functionality, or subclass the MS Common Controls DIalog to provide the necessary functionality.