Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set path to a network server/drive
Message
From
17/11/1998 14:13:57
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00158372
Message ID:
00158391
Views:
16
>>The data for my application resides on my network server. The application is an .exe file. We have not standardized the drive letters, so my users will access the data files on the D:, E:, F:, G:, H:, and I: drives depending upon which computer they use to log on. Most of them are using Win95, but a few use Windows 3.1. Can I set the FoxPro path to something like "\\\\\" in either the config.fpw file or in the init event of the main file of the application?
>>
>>Thanks,
>>
>>Alan
>
>The slashes in my prior message should read: back slash, back slash, server name, volume, directory name, application directory name.

You can use UNCs (\\\\rest of the path) in VFP; support for UNCs is far from good in VFP 3.0 (AFAIK, you can't SET DEFAULT TO a UNC in 3.0), and your Win3.x installations with Win32s will give you fits, since the underlying file system doesn't fully support Long File Names or UNCs.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform