Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A simple one
Message
 
 
À
11/09/2005 19:24:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01048570
Message ID:
01048579
Vues:
23
This message has been marked as the solution to the initial question of the thread.
Grady,

Your code doesn't do anything because it sets default directory to itself. The default VFP directory and directory where application is started from are not the same.
SET DEFAULT TO (JUSTPATH(_VFP.ServerName))
* or
SET DEFAULT TO (JUSTPATH(SYS(16,0)))
The difference between two is in development only.

>I am trying to use the code below to establish a path to the default directory/folder of my app. But when I install and run the app it looks in 'My Documents\blah\blah blah\something'
>
>
>Set Default TO Sys(5)+Sys(2003)
>
>
>What have I missed?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform