Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to auto restore Fox Dos (full screen) from VFP.
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00798176
Message ID:
00798505
Vues:
30
>>Houston,
>>
>>Did you try to send ALT+ENTER using WSH?
oWSH = CreateObject( "WScript.Shell" )
>>oWSH.AppActivate( "Command Prompt - FOXPROX" )
>>oWSH.SendKeys("%~")
>
>The AppActivate sets focus to the DOS App, but it remains in the background. The SendKeys does not appear to do anything - I am testing this in the command window, by selecting the two lines of code (AppActivate and SendKeys) and then right-mouse Execute Selection. In the SendKeys, is that a percent character, followed by tilde?

Yes, it's a percent character, followed by tilde. On my PC (WIN2KSP3) it brings FoxProX window on top of VFP window.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform