Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running the app from within foxpro
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00090589
Message ID:
00090743
Vues:
32
>>What I suggest is to put a copy of config.fpw (the same as in the directory with exe) in the project - this will ensure that the same config.fpw will always be used (the one in the exe). As for putting tables in the project, ONLY put tables in which WILL NOT be altered (fixed reference tables, fixed lookup tables, etc). I just re-read the bit about config.fpw - use SYS(3) to identify where you are and then you (hopefully) should be able to find the data from there (or at least open a file there to tell you where the data is). Regards,
>
>My problem is that the config.fpw won't be the same for all clients. As it is now, with the config.fpw not in the project, but instead in the directory, I can change the default directory for each client.
>
>If I put it in the executable, how do I change it for each client?
>
>I'm not sure what you mean by the last sentence...
>
>Thanks,

What I mean by the last sentence is that SYS(3) will return the current directory. You can use this to identify where you are - I may be going in the wrong direction here though looking at your response. I use SYS(3) as the basis for relative paths for data stored in other directories.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform