>>>When I run a .app file from within the VFP IDE, it close down the Command Window.
>>>
>>>Is this normal for VFP to close the Command Window it running a .app file, or is something within the app file causing this to happen.
>>>
>>>The .app runs a form, and the form is not Modal, yet I cannot get VFP top bring up the Command Window while the .app is running, and it closes down when the app starts.
>>
>>If you have this app code, can you check it? E.g. may be it has quit command at the end?
>
>
>Found!!
>
>
>READ EVENTS... That's what takes away the command window. Bootstrapper calls this after running form. Not sure why. Initial test seems to do fine without it.
>
>
>.
This is correct way, but it also should have CLEAR EVENTS in the shutdown routine. You can also call READ EVENTS only in case
_VFP.StartMode <> 0
If it's not broken, fix it until it is.
My Blog