Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to auto restore Fox Dos (full screen) from VFP.
Message
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00798176
Message ID:
00798505
Views:
31
>>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform