Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to wait for completion of shellexec ?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00739175
Message ID:
00744207
Views:
19
In addition (correction: Shell object, not VBScript... misspelled).
Try the following code:

sll = CreateObject("WScript.Shell")
lcCmd = '"C:\program files\Microsoft Office\Office10\excel.exe"'
cmdReturn = sll.Run(lcCmd, 1, .T.)

VFP window is available, but user input is locked.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform