Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Config file not working
Message
From
17/08/2009 12:23:40
 
 
To
17/08/2009 12:16:08
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01418189
Message ID:
01418492
Views:
45
>>>I've renamed the config file to config.fpw, and put a _STARTUP = "myfile.prg" statement in it.
>>
>>Change that to
>>
>>_STARTUP=myfile
>>
>>and make sure that you have an FXP file, not just the PRG file.
>
>No joy.
>I used COMPILE to create an .FXP file from my .PRG.
>Via filemon, I see my app looking for several .FXP files, including REPORTBUILDER, REPORTPREVIEW, REPORTOUTPUT, GETXPR, and GENPD, but not mine.
>I assume my app's project does not need to know anything about this program, right?
>I do have it in the project but did not include it in the .exe.
>I'm back to testing with no internal config.fpw, just an external one invoked using the -c command line parameter.
>
>I tried setting the title text and several other things that might show that my config statements are being executed but haven't seen anything that changes - what's a good one to use for this?
>
>I have seen a couple of things in the documentation about cases where VFP will ignore statements in a config file but as far as I can tell.
>
>
>I'm stumped -

Are you trying to get "COMMAND" or "_STARTUP" to work while firing off an EXE you built with VFP? I think the "COMMAND" and "_STARTUP" are only used when starting VFP IDE up. I think exe's you build and don't use those commands in the config file.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform