Re: Config.FPW command ignored when double-clicking on PJX in Explorer

2022-05-09 Thread Paul Newton
Many thanks, Frank (and to everybody who chimed in with suggestions). Setting Tools~Options~File locations~Startup program to Start.PRG in the VFP9.EXE folder did the trick! And, of course, thanks to Ed without whom all this help would not be available. Paul Newton On 09/05/2022 16:01,

Re: Config.FPW command ignored when double-clicking on PJX in Explorer

2022-05-09 Thread Paul Newton
Hi Frank I did find the registry setting where %1 picks up the PJX path and name.  I tried adding -cConfig.FPW to the registry entry but it didn't work.  BTW Config.FPW is present in the VFP9.EXE folder and in the PJX folder (just to be sure ...) Yes, sort of. CD (without the ?) takes an

Re: Config.FPW command ignored when double-clicking on PJX in Explorer

2022-05-09 Thread Paul Newton
Thanks for that suggestion Jeff. I'm working on something else right now but will look into it tomorrow ... will post my findings. Paul On 09/05/2022 15:53, Jeff Roberts wrote: This may not be exactly what you are looking for Paul and I am no expert but you might look into creating a "Send

Re: Config.FPW command ignored when double-clicking on PJX in Explorer

2022-05-09 Thread Frank Cazabon
OK, I think the file association of PJX with VFP9.exe has various parameters you can set, but I don't know if that will do what you want. You can find these settings somewhere in the registry if you want to dig into it. My setup is that I have a startup program configured (Tools | options |

Re: Config.FPW command ignored when double-clicking on PJX in Explorer

2022-05-09 Thread Jeff Roberts
This may not be exactly what you are looking for Paul and I am no expert but you might look into creating a "Send To" shortcut. I think with a little trial and error you can get that doing what you want. Here is an article, but if it doesn't get you where you want I'd keep looking on this path:

Re: Config.FPW command ignored when double-clicking on PJX in Explorer

2022-05-09 Thread Paul Newton
Hi Frank Thanks for your reply.  I have tried as you suggest (Config.FPW and Startup.PRG in the VFP9.EXE folder) but that still does not work.  Double-clicking on the PKX opens the project and CD in the command window shows the current folder as the project's folder) Paul On 09/05/2022

Re: Config.FPW command ignored when double-clicking on PJX in Explorer

2022-05-09 Thread Frank Cazabon
Paul, I think the issue you are seeing is that when you double click on the PJX, the VFP9.exe runs, but it runs with the default/start in folder being the folder where vfp9.exe sits. If you set up your config in that folder then you should get what you want, once you can make it generic

Re: Config.FPW command ignored when double-clicking on PJX in Explorer

2022-05-09 Thread Paul Newton
Thanks Jan You say that double-clicking on a PJX works as usually but what are the commands in your Start.PRG and do they get executed (in addition to the project being opened). Paul On 09/05/2022 14:09, Jan Bucek wrote: My config.fpw and start.prg for "command=do start" are placed in VFP

Re: Config.FPW command ignored when double-clicking on PJX in Explorer

2022-05-09 Thread Paul Newton
Hi Richard Many thanks for your reply. I haven't used Environment Manager much but that's definitely an approach to consider.  I really don't want to create shortcuts for PJXs that I only open rarely on an ad hoc basis (as opposed to those that I am actively working on). It's still

Re: Config.FPW command ignored when double-clicking on PJX in Explorer

2022-05-09 Thread Jan Bucek
My config.fpw and start.prg for "command=do start" are placed in VFP folder. Doubleclicking any PJX works for me as usualy. Dne 8.5.2022 v 19:19 Paul Newton napsal(a): Hi all I have a folder containing a PJX, Config.FPW, Startup.PRG, StartThor.PRGand StartHackCX.PRG Config.FPW contains

RE: Config.FPW command ignored when double-clicking on PJX in Explorer

2022-05-09 Thread Richard Kaye
I never open VFP by using Explorer so hard to say what’s happening. I’d check the help for the precedence on how config.fpw gets picked up but otherwise you can create shortcuts to your PJXs and force a specific file by using the -c switch. I’m also a big (maybe the only) fan of Environment