Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute
Message
De
15/04/2003 05:10:32
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
15/04/2003 03:14:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00777580
Message ID:
00777600
Vues:
9
>I'm writing a VFP7 application (called MyApp.exe) thas uses ShellExecute to run external apps. All works great if the external .EXE is, for example, winword or lotusnotes or any other executable file built with VB or VC++.
>But, when the external file is an EXE built with VFP7, it does not start correctly. The ShellExecute returns a value greater than 31, the application MyApp.exe loses the focus, but the EXE file executed is not displayed on the desktop. The application is present in the task manager as a process, I can terminate it, but I'm not able to get it on the desktop using the ALT+TAB keysequence.
>
>Can anyone help me?
>Thanks! Nando
>
>N.B. sorry for my bad English.

Fernando,
If a VFP exe is runnable on its own (that's works as expected when dblclicked in explorer or shortcut etc) it runs very well with ShellExecute.
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