John Weller wrote on 2011-07-22: > Thanks Allen. I've not used config.fpw with VFP. In my main program I set > a flag as a global variable which holds whether it is being run as an exe or > an app. In the opening screen I reference this variable to decide whether > to set Application.Visible to true or false so that the screen is not hidden > during development work - can I do something similar with config.fpw? > Should config.fpw be included in the project or should it live in the same > directory as the exe file? > > John >
John, When I'm testing, I use a custom icon pointing to the VFP9.EXE and use the -C parameter to launch a specific config.fpw. In this I have two lines: Resource=off Command=Do startup.prg The startup.prg can do some custom setup, such as creating an object and binding to the screen for right click shortcut menu, etc.. But it launches the compiled EXE with DO myapp.exe The debugger and data session windows become available. The config.fpw compiled into myapp.exe will not be used since the VFP session is already running. Certain levels of ReFox encryption will NOT run in this scenario. Tracy Pearson PowerChurch Software _______________________________________________ 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.

