I have included a config.fpw file with the SCREEN=OFF line in the project. When I run the .app in a directory where the config.fpw exists, the form comes up as desired. If thee is no config.fpw file, the VFP environment comes up. I opened the .app with notepad and see that config.fpw shows up there.
TIA - Joe On Tuesday, July 15, 2008 1:31 PM, Garrett Fitzgerald wrote: > >Date: Tue, 15 Jul 2008 13:31:10 -0400 >From: Garrett Fitzgerald >To: [EMAIL PROTECTED] >cc: >Subject: Re: Simple app questions > >On Tue, Jul 15, 2008 at 13:17, Joe Yoder <[EMAIL PROTECTED]> wrote: >> How do I prevent the VFP environment from coming up when the executable is >> run? The app is just a single screen. > >Include a config.fpw file compiled into the project with the line > >SCREEN=OFF > >and set your form's ShowWindow property to 2, As Top-Level Form. Note >that Top-Level forms must be modeless, so you'll need the READ >EVENTS/CLEAR EVENTS commands, if you don't already have them. > >> How do I compile the app as standalone where it has the run time embedded? >> If this is not a good idea - what files need to be included when I install >> the app as a compact executable on a machine which does not have VFP >> installed? > >You should be able to install it with VFP9R.DLL and VFP9RENU.DLL >(assuming VFP9): you might need to include MSVCR71.DLL for good >measure, and if you use VFP9 reporting features, REPORTOUTPUT.APP >might come in handy. > >If you check on the Fox wiki for Inno Setup scripts, you should be >able to find something usable with minimal tweaking. > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

