Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send key strokes to fox app via pcanywhere
Message
De
07/09/2000 11:27:37
 
 
À
07/09/2000 11:14:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00413544
Message ID:
00413560
Vues:
14
>Hi
>
>Does anyone know how to pass key strokes to a remote computer using pcanywhere?
>
>I have a fox app sitting running on a remote computer, and I want to re-boot the computer when the app fails.
>

PCAnywhere does not permit you to send a reboot sequence; you can access it through PCAnywhere's top-bar menu. An alternative would be to call the ExitWindowsEx() API function from your application (assuming that by fails means that it gets an error, as opposed to locking up; if the app locks up, it isn't going to send any keystrokes, either) as shown in the FAQ and Windows API section.
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform