Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute
Message
De
29/01/2002 03:04:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
ShellExecute
Divers
Thread ID:
00612029
Message ID:
00612029
Vues:
58
Hi All

I am using VFP6/SP5 and VFP7/SP1. I am using ShellExecute to run the default application associated with a particular file, eg a word doc. Syntax from the UT API section:

lnResult = ShellExecute( 0, "Open", tDocFile, "", "", 3 )

Sometimes Word loads the document and becomes the active window. Other times Word loads the same document but then my VFP app jumps to the fore and becomes the active window. How can I force Word to stay the active window.

TIA

Jos
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform