Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Config.fpw won't set talk off
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00498841
Message ID:
00499445
Vues:
11
>My recollection, AND the way I do it is as follows
>
>TALK=OFF
>TITLE=SIMPLE CONFIG
>
>Notice no spaces in there between and = and anything else. I seem to remember that being a requirement.
>
>>David, Thanks for your response.
>>
>>I did exactly as you said and created a new config.fpw file with only the two following lines of code.
>>
>>TALK = OFF
>>TITLE = SIMPLE CONFIG
>>
>>Some very interesting things happened.
>>
>>1st. The TALK = OFF generate the error "variable OFF not found".
>> I ignored that (clicked the ignore button)
>>
>>2nd. Then I get a syntax error on the TITLE = SIMPLE CONFIG line of code.
>> I ignored that (clicked the ignore button)
>>
>>3rd. Even though I got the syntax error on the last (second) line of code,
>> The title in the main VFP window was indeed "SIMPLE CONFIG" before it
>> got to that that line of code. Wierd???
>>
>>4th. Even though the first line of code generated an error, Talk was OFF.
>> However this is probably the default setting. This at least is encouraging.
>> leading me to believe my original config.fpw file may be corrupted.
>>
>>BTW, I can't find any documentation telling me that "SET TALK OFF" is out and "TALK = OFF" is in.
>>I'm coming from FP DOS 2.6 into VFP6.0 and realize that I'm at the bottom of the learning curve again,
>>So there may be some changes here that are not documented.
>>
>>What next??
>>
>>Thanks agian
>>Bennett


The config.fpw file has to be in the startup dir, but it looks like this is OK according to the above.
But it looks like you are saying something like do config.fpw in your code.
The config file is automaticly read when the app starts. You don't have to run it seperately. Thats why it gave you errors and why the screen title was already changed before you reached that line of code.
So don't run the config.fpw file as if it was a normal program
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform