Frequently Asked Questions for
Microsoft Visual FoxPro version 5.0 for Windows
These are some of the most frequently-asked questions about Visual FoxPro. Scan this list before you call Microsoft Technical Support. To print these notes, choose Print Topic from the File menu.
Question 1: How do I hide the Visual FoxPro desktop when my application's .EXE file starts?
Answer: Put the following line in the CONFIG.FPW configuration file:
SCREEN=OFF
Note: If you do not need to provide the CONFIG.FPW as a separate file-- that is, you will not need to be making any changes to it after building the .EXE--you can add the CONFIG.FPW file to the project, making sure it is marked as included, and it will be built it as part of the .EXE.
Question 2: How do I create a top-level form with a top-level menu?
Answer: To create a top-level form, set the form's ShowWindow property to 2-As Top Level Form. To create a top-level menu, open the Menu Designer. From the View menu, choose General Options, then set the Top-Level Form option. To place the top-level menu in the top-level form, put the following code in the Init event of the form:
DO