>I have as my first line of code
>
>_SCREEN.visible = .F.
>
>However, when I first run the .EXE, the normal window flashes on the screen then disappears. Likewise, when I quit the app, the window flashes again. How can I get rid of this?
>
You'll need to use a CONFIG.FPW with the line SCREEN = OFF in it, either included and built into the project, or in the startup directory, or specified using the -C command line switch.
After that, you must either use Top-Level forms, or adjust the setting of the VFP screen using the _SCREEN system variable and then doing an _SCREEN.Show() (or _VFP.Show(), or _SCREEN.Visible = .t., or any of a half-dozen different ways of handling this.)
If you leave the main VFP window hidden and do not have any top-level window running, you won't be able to visually detect that the application is running. If the main VFP screen is disabled, some internal VFP functions may not be usable without some additional workarounds (for example, print preview from the report writer.)
You may want to read the entries in the FAQ here on UT on hiding and modifying the main VFP screen for additional details.
>Thanks!