Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running the app from within foxpro
Message
From
09/04/1998 10:15:11
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00090589
Message ID:
00090756
Views:
23
> (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
Map
View

Click here to load this message in the networking platform