Hi Larry,
>I am trying to run a VFP exe from my VFP 6.0 exe and having a problem with the app that I am running's config file. How can I specify to look for a different config file when I am running the exe from within my exe.
The only way to use a different config file is to run the second VFP instance in a new process. This means you launch it with RUN, ShellExecute or CreateProcess and pass the new config file using the -C paramter:
RUN Second.EXE -CSecondConfig.FPW
However, as the EXE entirely runs in a new process it takes a while to load and it doesn't have access to any of the variables, tables or objects of your first application.
--
Christof
--
Christof