Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with 'wait on return' when running .exe with Wscript
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Trouble with 'wait on return' when running .exe with Wscript
Miscellaneous
Thread ID:
00361878
Message ID:
00361878
Views:
47
I'm trying the use this code to run an FP2.6 exe from VFP 6.0 SP3

oShell = CREATEOBJECT('wscript.shell')
oShell.RUN('lss.exe',1,.t.)

The 3rd parameter is supposed to determine WaitOnReturn but setting it .T. or .F. has no effect. Any help would be appreciated.
Next
Reply
Map
View

Click here to load this message in the networking platform