Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'Set Path' Statement in an Application
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00787726
Message ID:
00788506
Vues:
21
>I would like to verify the usage of the 'set path' statement in a compiled VFP 7 exe.
>
>When we are in development mode in house we include the path to forms, programs and class libraries as a 'set path' statement in our startup program.
>
>Am I correct in assuming that these paths are * not necesary * when you run a 'app' or 'exe' since the forms, programs and class libraries are included in the project?
>
>TIA.
BY default they are. Library files and Tables are excluded by default though.

You could use the DIRECTORY() function to verify if needed.

Note: You cannot "SET PATH" to a UNC path. Must have a Drive letter. VFP will not give an error but will not set path to the UNC path. You need to map it first.

eg: SET PATH TO \\myserver\mydir\ will not set path

Bernard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform