P
Peter O'Reilly
While using the .Net framework v 1.1 implementation of
System.IO.Directory.Exists(), it fails to recognize a mapped network drive.
This is true if the path specified uses a mapped drive letter or is
expressed as a UNC address. I have also tried the drive letter and UNC
paths with and without trailing backslashes, respectively. No luck.
I would suspect it is a security concern, but no exception is returned. For
all combinations, System.IO.Directory.Exists returns false.
I've double checked my typing of the path address and validated that
Directory.Exists() does work predictably well for local paths, e.g. c:\winnt
(and also discovered remote paths are not an issue with classic VBA).
Any help is appreciated. Thanks!
System.IO.Directory.Exists(), it fails to recognize a mapped network drive.
This is true if the path specified uses a mapped drive letter or is
expressed as a UNC address. I have also tried the drive letter and UNC
paths with and without trailing backslashes, respectively. No luck.
I would suspect it is a security concern, but no exception is returned. For
all combinations, System.IO.Directory.Exists returns false.
I've double checked my typing of the path address and validated that
Directory.Exists() does work predictably well for local paths, e.g. c:\winnt
(and also discovered remote paths are not an issue with classic VBA).
Any help is appreciated. Thanks!