Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Options in the developing env.
Message
From
23/11/2000 17:23:51
 
 
To
22/11/2000 16:52:00
Gad Hutt
Express Print
Herzliya, Israel
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00444778
Message ID:
00445071
Views:
18
>Hi,
>A few Q.
>1. What is the influence of the setting I make in the tools->option form when I compile to a stand-alone EXE file?

Executed under the VFP runtime, none. Executed under the VFP development environment, they apply unless overridden by the CONFIG.FPW

>2. If I omit the config.fpw what settings are established?

Under the runtime, all the DEFAULT values for SET, temp files will be created in the starting directory, FOXUSER will be searched for; if found, it is opened exclusively unless flagged at the OS level as read only, if not found, it is created in the starting directory. Under the runtime, all registry entries associated with the HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\6.0 tree are ignored, under the development executable, they are applied

>3. If the answer to Q #1 is that I get default settings without connection to the option settings, how do I know what SET commands I should include in the CONFIG that will cover all of the settings made in the developing env.?
>

You can examine the state in the runtime, but in all likelihood, the runtime deployment SET valueslike HELP, PATH, SYSMENU, etc will need to change. Also, many SET conditions are scoped to the data session, so if you use private datasessions, it'll require adding code to the Load of the Form or the BeforeOpenTables of the DE so that things like EXCLUSIVE, TALK, etc are set properly.

I'd avoid most SET items in the CONFIG.FPW; place the minimum required items such as the location of the FoxUser RESOURCE, where temp files should be, changes for MVCOUNT, etc that can only happen in the CONFIG.FPW there, and place code in the startup of the app to modify SET values; that way, if the CONFIG file is lost or corrupted, the app still will configure itself.


>Many thanks,
>
>Gadi Hutt
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform