Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically keep a session from idling
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01284395
Message ID:
01284750
Vues:
17
>>Again, I think you have to make the distinction about where this code is running. Is the above code actually running in a VFP app in the TS session, or is it in a process running simultaneously with the TS client on the client computer? I'm beginning to think you probably have to cause the TS client on the client computer to initiate traffic back to the TS session.
>
>
>yes; this VFP app is running in the TS session causing RDP traffic using the FileToStr and StrToFile functions.

Check my other discussion branch with Dragan - I think you need to create a process on the client computer, that "automates" the TS client (or somehow passes Windows messages to it), thereby causing it to move the mouse slightly, press some keystroke like the Shift key, etc. The process you create might be a Fox app, could be something else. You can search messages here for message passing to other programs from Fox if that's the way you'd like to go.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform