Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to run/call applicaion from foxpro
Message
De
20/01/2013 13:12:16
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
20/01/2013 06:10:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01563352
Message ID:
01563408
Vues:
77
>ok, I have downloaded API_APPRUN. It gave a process.VCX Class. Kindly guide how should i use this class to run my external application.
>
>C:\Printfile\GWSP.exe /sWIDSPOL\*.*
Local oprocess As api_apprun Of Process.vcx
lcCommandLine="C:\Printfile\GWSP.exe /sWIDSPOL\*.*"
lcStartInFolder=fullpath(".")
oprocess=Newobject('api_apprun','process', '', lcCommandLine, lcStartInFolder, 'HID')
oprocess.LaunchAppAndWait()
The last parameter is "HID" if you want to hide the command window; it can be also "NOR" (for normal) if you want to show it. The parameters are explained inside the code of the api_apprun class.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform