Mapped drive not available

K

kengolding

We have a vb.net program.
It uses mapped drived.
I have a drive called P:
sometimes my program will not be able to see the drive and if I go to
explorer it will have a red x by it. I can then browse to it and see it
fine, but our program still cannot see it.

I have a dialog browser in the program and when I open it and go to my
comptuer, all of the mapped drives have red x's by them. If I click one to
access it then all is ok until it times out again.

We have the program installed on many computers but only the vista computers
are having this problem we have never had a problem with the xp stuff.
Also the code that checks if the directory is available checks both the
local drive and network drives and only the network drives have this problem.
We use
my.computer.filesystem.driectoryexists("P:\test")



is there a way to either refresh the network connections or tell them to not
TIMEOUT.
 
R

Robert L. \(MS-MVP\)

Microsoft has a hotfix that may fix the problem. Or check these posts.

Vista: mapping drive with a red XSymptom: You may see a red "X" appears in
the icon for a mapped network drive in Folders area of Windows Explorer.
This problem may occur if the following ...
www.chicagotech.net/netforums/viewtopic.php?p=2208

Red X on my network icon/server ...Posted: Tue Nov 06, 2007 2:54 am
Post subject: Red X on my network ... Since installing Vista Business on a
Dell D620 with Intel Core2 Duo 2GHz with 2GB Ram ...
www.chicagotech.net/netforums/viewtopic.php?t=2080



--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com
 
K

kengolding

Thanks for the reply. We are going to try this hotfix, but our problem is a
bit different. The explorer works, but when we access it from inside of our
vb.net program the file is not available.

Even though we can see it from the explorer. Once we browse to the
directory via the programs internal file browser then it works from within
the program.

I will post back when we try the hotfix.

Thanks again
 
K

kengolding

Thanks for the reply. We are going to try this hotfix, but our problem is a
bit different. The explorer works, but when we access it from inside of our
vb.net program the file is not available.

Even though we can see it from the explorer. Once we browse to the
directory via the programs internal file browser then it works from within
the program.

I will post back when we try the hotfix.

Thanks again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top