Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute
Message
 
À
14/09/2010 09:50:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01481103
Message ID:
01481118
Vues:
121
This message has been marked as the solution to the initial question of the thread.
>>>Hi all, I cannot find the procedure I've done to run external application using ShellExecute.
>>>Is therre anybody who can write me a shorte example ?
>>>I need to wait this application to be closed, if possible, before having back the focus
>>>
>>>I think to remember i was using something like
>>>oWsh = CREATEOBJECT("wscript.shell")
>>>
>>>
>>>thanks
>>>Alessio
>>
>>I think you mean:
>>
>>
>>oShell = createobject("WScript.Shell")
>>oShell.Run("c:\somefolder\my.exe",1,.T.)
>>
Cetin
>
>I meant that but I need to open a specific document and not just run an executable. I was wrong sorry :)


It is the same:
oShell.Run("c:\somefolder\myDocument.doc",1,.T.)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform