>>>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.
I've just re-read our exchange. It looks like you are switching from VFP to the DOS window, and sending Alt+Enter to make it full screen. Can you use VFP code to switch to the DOS window, when it is
already full screen?
censored.