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:
00746361
Views:
20
>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.

Works fine on my XP machine. When I went to install it on a Win98 machine, at my client's place, it gave me error 1426 as soon I try to create the Wscript.shell object. I downloaded it from microsoft and still the error is there. Any suggestionh ?

Thanks
Eric
Eric Crespin
Consultant
PC PLUS Software Inc.
www.pcplus.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform