Hi Kevin,
Have look at
Thread#
953449 Message#
953634 Title: Data Envrionment Quirks & Slow Opening Forms
Rgds++
Sergio
>I develop on a PC at work where my projects are located
>at d:\projects\vfp1\{project}\{version}\source.
>
>From time to time, I take a project home. At home, the project
>files are on one PC acting as a sever, and I develop on another.
>
>On my development PC, I mapped a drive to the projects location
>on the server as G:\projects.
>
>So, the development path then becomes g:\vfp1\{project}\{version}\source.
>
>I just simply ZIP up the project and UNZIP in the other PC when necessary.
>
>How then do I tell the application where files are? I could use #DEFINE's
>in my project.h file such as
>
>
>#DEFINE APP_PATH_1 d:\projects\vfp1\{project}\{version}\source.
>#DEFINE APP_PATH_2 g:\vfp1\{project}\{version}\source.
>
>
>But how does the app know which path to use based on which PC
>I'm on?
>
>Thanks