>Fernando,
>I do too ShellExecute other VFP exes and they work wonderfully well. Might >it be that your exe is dependant on its configuration file or some other >file in its startup dir ? If so for config.fpw you could use -c switch. For >startup folder you might set ShellExecute's working directory parameter. >Also check if last parameter is set correctly (show).
>Cetin
Cetin,
it is a possibility, of course.
In fact, I have tried an experiment: instead of executing myapp.exe in the executable form, I have executed the source code (MyApp.scx) into the Visual FoxPro IDE. It works fine. The MyChild.exe application starts and works as aspected. Maybe, as you suggest, a problem with configutation files, startup parameters, or something like this. I will try embeeding in the executable all the support files, like config.fpw etc.
I will investigate about this possiblity.
Thank you.
Nando
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement