> (1) Set up a shortcut for debugging that invokes VFP with the proper CONFIG.FPW before beginning to debug. The -c switch allows the specification of a CONFIG.FPW at runtime invocation As an example:
>
> VFP -cC:\MyApp\Debug\CONFIG.FPW
>
>would start VFP using the CONFIG.FPW found in the directory C:\MyApp\Debug. You do not have to name it CONFIG.FPW when set with -c, for example:
>
> VFP -cC:\MyApp\DevArea\CONFIG.DEV
>
>would start VFP using a file called CONFIG.DEV instaed - I use this to set up multiple CONFIGs, one for production, linked into the .EXE, and another for debugging. This allows you to set up a debug environment easily.
I couldn't get this to work. Maybe I was doing something wrong?
At any rate, I have a solution. I check to see if "VFP" is in the current directory. If it is, I know I'm in development mode, and I change the directory to where the tables are.
Thanks for your help,
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only