Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding for Peer to Peer networks
Message
De
20/04/2001 13:02:09
 
 
À
20/04/2001 12:20:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00497969
Message ID:
00498002
Vues:
14
This message has been marked as the solution to the initial question of the thread.
What you could do is to have the app figure out where it is when launched and base everything from that drive/dir. For example,

SET PATH TO (CURDIR()+"data") && paths to data sibdir under current dir.

>Until now most of my apps have been developed for server based LAN use, but now one of my apps is being used on a peer to peer network where the users map each others drives with their own drive letter designation. This means that hard coded references to file locations no longer works.
>I know that there is more than one approach to addressing this issue and I was wondering what is the currently recommended "guru" method.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform