Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Networked exe
Message
De
21/12/1998 13:43:47
Clayton Ainsworth
Quickcare Software, Inc.
Frisco, Texas, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00169142
Message ID:
00169394
Vues:
22
>I have an existing exe running off of a server, with the tables in subdirectories below the exe directory (as discussed in an earlier thread - to permit security right assignments to the various tables).
>
>As I work on updating the exe to VFP6, I've seen discussions here in UT about placing a copy of the exe on each users PC to speed performance.
>
>How do I ensure that the exe can find the tables on the server?

We use an INI file that is created during setup with an entry that points to the data directory. We read the file on app startup, then set paths accordingly. We also point private datasessions to it in the BeforeOpenTables event of each form's datasession. We keep the default directory pointed to the local machine, for temp files, etc.

There are many ways do do it, this is only one.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform