>I have a simple little code that runs fine on my XP machine:
>
>
>oShell = CREATEOBJECT('WScript.Shell')
>oShell.Run("C:\etrades\runcobol monitor",0,.T.) && Yeah yeah cobol!
>
>As soon I put it on another machine, it fails on the run method with error 1426 (You have received an error code from OLE (in hex), and a brief description of the error. The remedy depends on the error returned by OLE.).
>
>One of the machine is a Win2000 server, the other one a Win98.
>
>Any idea ?
>
>Thks
Eric,
Not really, but I do have a question. I noted in another thread that you stated that you downloaded the latest version of the WSH from Microsoft. I'm wondering if you've tried to install it on Win2K as well as the Win98 box.
Some notes, the WSH under Win98 was an option, but the default was set so that it would install. The other thing is that it is not an option on Win2K and higher. It's necessary part of the package. The reason I'm mentioning this is that I'm wondering if one or two (or both things) happened. First, that the download wasn't corrupt and second, if it was, did it cause the problem.
George
Ubi caritas et amor, deus ibi est