Looks like you need to do some creative debugging.
You could try this:
First, remove the Config.FPW completely. Instead, put [tt]_SCREEN.Visible = .F.[/tt] as the very first line of the program. Now, watch carefully as the program loads. What you should see is the outer window appearing, and then almost immediately it should disappear. That mean that that first line has executed. Keep watching. If the outer window suddenly appears again, it means you have some code somewhere that is making the screen visible.
So the next step is to identify that code. You could try single-stepping in the debugger, executing one line at a time until the window re-appears. Actually, I'm not sure if that's possible. Can you run the debugger while the main screen is invisible? I don't know. Give it a try.
Alternatively, you could quit the application at some early point in the code, say, just before creating the goMyApp object. If the screen re-appears before the application quits, that means the problem code is before that point. If not, move the quit down a bit, say, to the point where you are about to launch the main form. And so on. In that way, you might be able to narrow down the location of the offending code.
If, on the other hand, the screen correctly remains invisible the whole time, it means the problem is in the Config file. Off-hand, I can't see anything wrong with it. But you could try removing everything except the [tt]SCREEN=OFF[/tt], just to see if there is something wrong elsewhere in the file. If that doesn't change anything, it would suggest that the file is not being bound into the executable.
Perhaps you could try these suggestions and report back.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Visual FoxPro articles, tips and downloads