Hi,
This was happening since we started looking at this project. Since there were spaces in some of the subfolders, we thought the problem might be related to that. So we tried putting all paths in quotes, but we had the same problem.
The problem is that VFP 9 isn't keeping our folder PATH settings. We have about 10 paths, something like
"c:\root\"
"c:\root\code\"
"c:\root\FORMS\"
"c:\root\BITMAPS\"
"c:\root\BITMAPS\OTHERS\"
"c:\root\ClassFiles\"
"c:\root\DATA\"
"c:\root\Menus\"
, etc.
Originally, some of these folders had spaces, so we re-created the project without spaces. Also, we originally didn't end the PATHs with a slash \, but we speculated that VFP was expecting them. Now, we're not sure anymore.
We start each session with
CD c:\root\ (per a suggestion on this forum)
DO (HOME() + "envmgr.app") with "-m"
, and then check Tools/Options/File Locations/Search Path
Some of the time, the Search Paths from a previous session are still in there. But most of the time, some or almost all of the Search Paths are gone.
So each of these times, we have to modify the Search Path, and manually paste in
c:\root\ ; c:\root\code\ ; c:\root\FORMS\ ; c:\root\BITMAPS\ ; c:\root\BITMAPS\OTHERS\ ; c:\root\ClassFiles\ ; c:\root\DATA\ ; c:\root\Menus
(and others). Then we check Tools/Environment Manager, and we can see them all there.
How do we get them to persist? We've tried quotes around all of the paths, ending with or without the back slash.
And the strange thing is, that it's sporadic. Sometimes the paths persist from session to session, and sometimes they don't.
This was happening since we started looking at this project. Since there were spaces in some of the subfolders, we thought the problem might be related to that. So we tried putting all paths in quotes, but we had the same problem.
The problem is that VFP 9 isn't keeping our folder PATH settings. We have about 10 paths, something like
"c:\root\"
"c:\root\code\"
"c:\root\FORMS\"
"c:\root\BITMAPS\"
"c:\root\BITMAPS\OTHERS\"
"c:\root\ClassFiles\"
"c:\root\DATA\"
"c:\root\Menus\"
, etc.
Originally, some of these folders had spaces, so we re-created the project without spaces. Also, we originally didn't end the PATHs with a slash \, but we speculated that VFP was expecting them. Now, we're not sure anymore.
We start each session with
CD c:\root\ (per a suggestion on this forum)
DO (HOME() + "envmgr.app") with "-m"
, and then check Tools/Options/File Locations/Search Path
Some of the time, the Search Paths from a previous session are still in there. But most of the time, some or almost all of the Search Paths are gone.
So each of these times, we have to modify the Search Path, and manually paste in
c:\root\ ; c:\root\code\ ; c:\root\FORMS\ ; c:\root\BITMAPS\ ; c:\root\BITMAPS\OTHERS\ ; c:\root\ClassFiles\ ; c:\root\DATA\ ; c:\root\Menus
(and others). Then we check Tools/Environment Manager, and we can see them all there.
How do we get them to persist? We've tried quotes around all of the paths, ending with or without the back slash.
And the strange thing is, that it's sporadic. Sometimes the paths persist from session to session, and sometimes they don't.