In the beginning of your startup program (fundu_app.prg) put the following:
Set Resource to foxuser
As VFP stores the setting, whether to display the toolbar or not, in the Foxuser.dbf in the “ID” field. (TTOOLBAR), all you have to do is start VFP, Click View->Toolbars and uncheck Standard. Now shut VFP. The setting is saved in Foxuser.dbf. Now every time you start VFP the Toolbar will not be visible.
When you build the project into an Exe, VFP reads your settings and the Toolbar will not be displayed. When you distribute your app, include Foxuser.dbf with your app. That’s it…