Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preventing FoxPro Main Screen From Displaying in .EXE

Status
Not open for further replies.

GabovitchE

Programmer
Jan 16, 2000
6
0
0
US
Hi,<br>
<br>
I've created an VFP 5.0 app using the Wizard.<br>
<br>
I've placed in the main program &quot;_Screen.Visible = .F.&quot; to hide the main screen.<br>
<br>
However, when I run the .exe, the Main Screen pops up for a half second. (Ahhh!)<br>
<br>
How can I prevent this from happening, so the user just sees the quickstart form, and not the &quot;white flash&quot; of the Main Screen.<br>
<br>
Thanks!
 
Try this in your main program:<br>
<br>
CLEAR<br>
ZOOM WINDOW SCREEN MAX<br>
DEACTIVATE WINDOW "Project Manager"<br>
SET SYSMENU SAVE<br>
SET SYSMENU OFF<br>
<br>
Hope this helps.
 
Insert in the main directory of exe a file named &quot;config.fpw&quot; and write in it the following line:

Code:
SCREEN=OFF
 
You may also want to include the config.fpw in your exe build under category OTHER FILES

Pete
blindpete@mail.com

What your mother told you is true! You will go blind! (from moonshine anyway)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top