Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error -RUN Command Failed- in NT Terminal Server environ
Message
From
08/11/2000 13:31:40
 
 
To
08/11/2000 10:13:25
Geert Van Snik
Zorgned Automatisering Bv
Wageningen, Netherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00439242
Message ID:
00439314
Views:
8
>Hi there,
>To initiate word from our foxpro 6.0 application , we use the Run command.
>(Run /N1 &H_Tekstvw &lcAlleBrieven /P) where H_Tekstvw is the full path to
>winword.exe and lcallebrieven is the name of the document to be opened in
>word. This has always worked fine, until today..
>One of our clients installed our software on a NT terminal server, and the
>"RUN Comand failed" error message started appearing. Is the RUN command
>incompatible with NT(4.0) Terminal Server?
>Any bright ideas?
>

You might try using API_APPRUN rather than the Run command; the source is there, and you can make alterations to provide added functionality that's supported by CreateProcess() for the WTS environment. I'm not going to make any change to the class to accomodate this, but you have the option to do so since you would have the full source.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform