Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path statement
Message
From
02/10/2002 16:16:55
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00707033
Message ID:
00707071
Views:
34
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform