Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with network drive mappings not active in VFP
Message
 
To
19/04/2005 09:36:56
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
01006151
Message ID:
01006164
Views:
21
>I've recently started having problems on XP with mapped network drives. The user logs on fine and the mapped drive shows up fine in 'My Computer'. But when the user launches the application it tells them the database is not found on the mapped drive. If you double click the mapped drive and relaunch the application then everything is fine. But the user must double click on the mapped drive in My Computer or the VFP application does not see it. Any ideas on how to get around this problem? It seems almost a daily occurance now.
>
>
>Thanks in advance,
>
>Greg

Greg,

Use UNC pathing instead of drive mappings. This will prevent you from forcing everyone to map specific drive letters to certain servers and will not let drive mapping losses cause problems. So, if:

N: is mapped to \\NTDev\D

and your database is opened like this:

OPEN DATABASE N:\Dev\Data\Database.dbc

You could simply change it to this:

OPEN DATABASE \\NTDev\D\Dev\Data\Database.dbc

HTH,
Chad
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform