K
krazymike
I have some VBA code that maps network drives dynamically. At the end
of the code, it disconnects them. When it comes time for them to
disconnect, I get "The network connection could not be found."
Windows explorer shows the drives as "Disconnected Network Drive".
From the cmd prompt, "Net Use" doesn't show these letters as used, but
I cannot map a different drive to them. My attempt to map some other
UNC to the letter gives "The local device name is already in use."
Double-clicking the drive in Windows Explorer shows the mapping is
still active. It takes me to the mapped location. rebooting resets
these drives, but I'm on a domain, and this takes FOREVER. I'm
resorted to using the DOS "subst" for now, but would like to know
what's going on, and how to fix it.
Thanks in advance.
of the code, it disconnects them. When it comes time for them to
disconnect, I get "The network connection could not be found."
Windows explorer shows the drives as "Disconnected Network Drive".
From the cmd prompt, "Net Use" doesn't show these letters as used, but
I cannot map a different drive to them. My attempt to map some other
UNC to the letter gives "The local device name is already in use."
Double-clicking the drive in Windows Explorer shows the mapping is
still active. It takes me to the mapped location. rebooting resets
these drives, but I'm on a domain, and this takes FOREVER. I'm
resorted to using the DOS "subst" for now, but would like to know
what's going on, and how to fix it.
Thanks in advance.