Try:
SET PATH TO (CURDIR()+"data"),(CURDIR()+"source"),(CURDIR()+"libs")
In your Main PRG or Init method of the first object.
>Can someone help me on this ....?
>
>I have two directories that reside on 2 different drives
>e.g. g:\app\dbf (developement drive) and t:\app\dbf (live drive)
>
>In the developement environment, whenever I create a new form and add tables to the form's data environment. I select tables from g:\app\dbf (this is where my dbc reside as well). My default directory is g:\app. But, when i compiled my app to an executable file and run this under the live environment the form still pointing to the develomemt drive(g:\app\dbf) for data even though I have my start up directory point to t:\app.
>
>In my application, I specificly open up the dbc using 'open database ..\dbf\app.dbc' at the beginning of the program. This doesnt seem to work as expected.
>
>
>Any help is appreciated ....
>
>Thanks
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05