Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with config.fpw
Message
De
27/11/1999 15:26:32
 
 
À
27/11/1999 12:38:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00295973
Message ID:
00296020
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform