Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute
Message
De
15/04/2003 08:16:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
15/04/2003 06:39:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00777580
Message ID:
00777646
Vues:
10
>Cetin,
>
>first of all: thank you for answer.
>
>The application I need to execute via shellexecute, works fine as standalone application when I run it. It is a VFP7 executable (.exe); I will refear to it as MyChild.exe.
>Unfortunately MyChild.exe does not start correctly when I execute it via ShellExecute from another application called MyApp.exe, which is a VFP7 executable too.
>Any other application I execute from MyApp.exe via ShellExecute starts correctly and works fine.
>
>So, it seems to me that a .exe built with VFP cannot correctly "ShellExecute" another .exe built using VFP.
>
>I have not found any report of bugs concerning this problem, so I am quite sure i am doing something wrong. But I do not know what.
>
>Thank you.
>Nando

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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform