Well, this app branches out into lots of areas, it was written in FPW 2.6, but as I've discussed, it bombs once in a while with a message indicating not enough screen space. Has to do with font, screen size, I forget the exact message right now. I suppose it has to do with my monitor size, the resolution, maybe the font and font size. I think it's the screen .SPR that's bombing.
So, my workaround was to create a VFP 9.0 form for the front end of all this instead of the FPW screen. I do have a project for the FPW app, but don't bother to generate an EXE. I have done so in the past, but in general I don't open the project, I just run a PRG that launches the opening screen. However, as I said, occasionally that screen fails to reappear without an error. The screen is regenerated by virtue of a looping mechanism.
If I run the VFP form instead, I can do it from the Command Window (e.g. Do form <myform>) or I can run that line in a PRG. Either way, the Command Window is there along with the form. It's not a problem being there but it looks weird, is a distraction, I have no need of it while the form is running. From the form I can run any of several programs from buttons on the form.
I tried several things to hide the Command Window, all without success.
I hope that explains why I want to hide the Command Window. Yes, I can generate an EXE instead, and maybe I should. However, it seems like an unnecessary step when I'm running all this stuff right in the VFP IDE.
Edit: So, as an experiment I just ran the form and instead of clicking a button on the form I entered the code in the Command Window that would do the same thing. Things went as expected and when I exited from that routine I was left with the form however the Command Window had disappeared. I'm mystified, to be frank.