Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Launching other windows apps from VFP
Message
 
 
À
02/07/2001 06:49:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00525792
Message ID:
00525942
Vues:
22
Teddy,

It's better to use the ShellExcute() API call. There's examples over on my website. You can also use the FFC _shellexecute class from VFP.

>How hard can it be to simply execute another windows application from VFP?
>
>From the VFP documentation I understand the RUN command to be used for executing a DOS command and being able to adjust various settings in the FOXRUN.PIF or an appropriate other PIF file.
>
>When I run the following command I do manage to run solitair but get the unavoidable dos box with it.
>run c:\winnt\system32\sol.exe
>
>There must be some native way of adressing just plain windows executables.
>
>No, of course I don't want to run solitaire. What I'm trying to do is to execute a winbatch file with a .wbt extension (Wilson WindowWare - Winbatch - Version 99K - WIL Interpreter) to remote control another software to export certain data.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform