Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path statement
Message
De
02/10/2002 16:16:55
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00707033
Message ID:
00707071
Vues:
36
This message has been marked as a message which has helped to the initial question of the thread.
>Is it odd that when I run an executable, then in it I "set defa to d:\someotherdir" then I get the message 'processfunds.scx does not exist"?
>I thought the executable was in memory.

VFP seems to keep the included files (whatever you see in the project manager) as files in a virtual directory, and it calculates their positions relative to the current directory when the exe is launched.

Maybe just keeping that directory included in the path would make it able to find components even when you change the directory? You can try to
lcCurdir=set("directory")
lcPath=set("path")
set path to (lcCurDir+", "+lcPath)
or something like that.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform