Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Now I need to read what's on a window
Message
 
 
À
16/06/2004 09:56:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00914232
Message ID:
00914251
Vues:
10
Peter,

I don't think you can do that with WSH. Most likely you'll have to emulate mainframe terminal in VFP or something like that.

>
>Customers can be demanding. First it's writing stuff to a mainframe window.
>
>Now they'd like me to read from one.
>
>I've looked at WSH ReadLine and ReadAll, but can't for the life of me figure out how to implement it.
>
>"The ReadAll method returns a string. The StdIn, StdOut, and StdErr properties and methods work when running the script with the CScript.exe host executable file only."
>
>Anyway, oShell = CREATEOBJECT(...) does not expose the StdIn and StdOut properties, so is this at all possible?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform