Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to suppress the DOS prompt
Message
 
 
To
07/07/2009 03:29:08
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00971249
Message ID:
01410494
Views:
99
oRun = NEWOBJECT("api_apprun", "Process.vcx")
oRun.icCommandLine = lcCommandLine
oRun.icLaunchFolder = JUSTPATH(oRun.cCommandLine)
oRun.icWindowMode   = "HID"
IF NOT oRun.Launchappandwait()
  * Couldn't launch App for whatever reason
  ? "ERROR: " + oRun.cErrorMessage

ELSE
  * Check exit code, if necessary
  lnRC = oRun.CheckProcessExitCode()
ENDIF
>Can you send me some example using the API_APPRUN class ?
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform