Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Directory questions
Message
 
 
À
17/11/1998 16:10:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00158502
Message ID:
00158507
Vues:
19
>>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
>
So I'm guessing the first answer is no, it isn't automatic. :)

But if I can get it from "SYS(5)+CURDIR()", that's easy enough to do.

Thanks,

-Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform