Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with config.fpw
Message
From
27/11/1999 15:26:32
 
 
To
27/11/1999 12:38:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00295973
Message ID:
00296020
Views:
22
>can somebody help me with the correct coding of a config.fpw file.
>
>I want map to a drive eg. e:\demo from different workstations and have my aplication use this mapped drive for data retrieving.
>
>With thanks in advance
>

Drive mapping is handled outside of CONFIG.FPW - either handled before the app starts and assumed correct, or mapped on the fly in the application, using a Win32 API call like WNetAddConnection(), or using a COM object like the Wscript.Network MapNetworkDrive method.

You will probably find it more convenient to use SET PATH and SET DEFAULT programmatically in the application, rather than expecting the CONFIG file to set these things for you, since the CONFIG file flies blind - it can't do something to check if the assignments are correct...
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