Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Directory questions
Message
De
17/11/1998 16:10:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00158502
Message ID:
00158505
Vues:
18
>Is the dir that the executable was started from automatically the default dir if there's no config.fpw?
>
>If not, is there a way to determine what dir the exe was started from?
>
>Can you set the properties found in config.fpw, such as setting the temp file dir from within the app rather than the config.fpw?
>
>Is there some way to get CD, MD, RD to work with dirs that have spaces in their names?
>
>I think that's it for now. :)
>
>Thanks,
>
>-Michelle

It can be done pretty simple:
***Main.Prg
oApp=CreateObject("clApp")
oApp.startdir=SYS(5)+CURDIR()  && and use it throughout the application
*****
RETURN

DEFINE Class clApp As Custom
 .startdir=""
 **** other properties
ENDDEFINE
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform