Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CONFIG.FPW not recognized
Message
From
31/05/2001 15:22:50
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00513365
Message ID:
00513372
Views:
17
This message has been marked as a message which has helped to the initial question of the thread.
>I have a small exe with no form that does a little processing and ends. When it runs I see the default FOXPRO screen flash and go away. About 3 months ago I created a CONFIG.FPW file with the line SCREEN=OFF in it and that took care of my flashing screen up until today.
>
>All of a sudden it started. Now everytime I run it I see the FOXPRO screen while the form is working then it goes away.
>
>I did move my source to another machine but that is the only difference.
>
>Any ideas? What makes my program read the CONFIG.FPW file? Isn't it done by default when it runs and is in that same directory?
>
>Thanks...
>
>Tommy

A couple of things to check:
1. If the config file is not built into the .exe, make sure it got moved with your other files.
2. The config file is called with the -c switch when calling your application e.g. 'c:\dir\myprog.exe -cconfig.fpw'. Make sure that if you start your app form a desktop icon that the -c switch and file reference are still there.
3. A lot of frameworks create a config file automatically with some sort of application wizard. Make sure this hasn't happened and over written your file. FWIW I never name my file config.fpw, I always key it to the app name - myapp.cfg.

John
Previous
Reply
Map
View

Click here to load this message in the networking platform