General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only