>Hi,
> I am starting to use VFP70, and found a problem, before we had the files, forms, prgs, etc, all together so at the time of debugging, it was with no problem.
> Now we decided to "pup" everything in order and created separated folders, each for forms, prgs, files, images, etc. The main program didn't have a PTH statement, so We decid to "add" it, something like this:
>
>set path ..\prgs, ..\images, ..\foems, d:\my_app
>
> The problem: When debugging the system says that the program is out of date( but not because the prg!) this happens because the system "cannot" find the proper prg, it is located under d:\my_app bu for somereason cannot find the ..\prgs folder.
>
> I would like to be able to debug with no problems, is there any way to set the environment in order to accomplish it in vfp70?
>
>
>Thanks!!!!!
Juan,
set path to ..\prgs, ..\images, ..\forms, d:\my_app
..\prgs in path statement means curdir()+'..\prgs'. If curdir() is c:\myvfpprojects\, is prgs really c:\prgs ?
I generally set it like :
set path to prgs;images;forms;d:\someotherneededdir
curdir() is my project dir and prgs, forms etc are under project dir.
PS: I don't put the path in main but rather set in tools\options\file locations so that I might explicitly test just one or more form, prg etc.
Cetin