I realize that. However, while the OP might want a drive letter, it's
possible that the application could return a UNC. This should only happen if
they opened the application using a shortcut that contained a UNC, or if
they opened Access, then opened the application by navigating to the file
through the Network Neighborhood. If that's the case, then the code from
http://www.mvps.org/access/api/api0003.htm at "The Access Web" should help
to determine what the drive letter should be, assuming that a drive IS
mapped to that share. (Of course, it's always possible that more than one
drive could be mapped to the same share!)
Yes, I know I'm picky!