>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.