Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to run/call applicaion from foxpro
Message
From
20/01/2013 13:12:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
20/01/2013 06:10:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01563352
Message ID:
01563408
Views:
78
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform