Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Config.Fpw being ignored
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00431275
Message ID:
00431301
Views:
16
First, Chris, check the code for the error file and see exactly what they are saving. It's very possible that you are talking apples and oranges here. For example I just started my VFP in D:\Samples, but Sys(2004), "Visual FoxPro Start Directory" is E:\Program Files........\VFP98\", the location of VFP.EXE. The same may well be true of the other items.

Second, you're right that the program should default to the config.fpw in the same directory as the EXE. However, if you have a "Start folder" different from the one where the EXE is VFP can get confused.

HTH
Barbara

>I have a Config.FPW file that looks like:
>
>keycomp = windows
>sortwork = C:\TEMP
>progwork = C:\TEMP
>editwork = C:\TEMP
>mvcount = 1024
>path = data;reports;bmps;html;worddocs
>status bar = off
>status = off
>resource = off
>clock = status
>exclusive = off
>deleted = on
>multilocks = on
>command = _Screen.WindowState = 2
>
>I received an errorlog from a user that collects details about an error when an option hurls. Here are 4 lines from the errorlog regarding an error:
>
>Current directory: V:\
>FoxPro start dir: C:\WINDOWS\SYSTEM\
>Resource file: V:\FOXUSER.DBF
>Temporary file drive: C:\WINDOWS\TEMP
>
>
>1) Why is the "Temp file drive" C:\WINDOWS\TEMP instead of C:\TEMP as specified in the Config.FPW file?
>
>2) Why is the start dir C:\WINDOWS\SYSTEM? Is this determined by the location of the VFP runtimes? If so, should i have a copy of CONFIG.FPW in the WINDOWS\SYSTEM folder?
>
>3) I do not specify and do NOT want to specify a config file name as part of the call to launch the EXE (i.e. C:\Vfp98\VFP6.EXE -CC:\MYAPP\MYAPP.FPW). I thought by naming the config file CONFIG.FPW, VFP would find it. (The file resides in the same directory as the EXE that they run.) Is this the case?
>
>thanks...
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform