Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execscript
Message
 
 
À
26/04/2005 18:56:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01008653
Message ID:
01008686
Vues:
17
>>Hi All,
>> I am trying to run the following code in VFP 6.0 and I get an error when this is executed EXECSCRIPT(Filetostr("any_name.ini")).
>>
>>Here is my code:
>>Set Default To "G:\Charisma"
>>EXECSCRIPT(Filetostr("any_name.ini")) ** this cause an error
>>thisform.release
>>
>>The error is EXECSCRIPT.prg does not exist. How can I execute the following command (EXECSCRIPT(Filetostr("any_name.ini")))in vfp 6.0 ?
>>
>>Thanks
>
>try
>
>COMPILE any_name.ini
>DO any_name.fxp
>ERASE any_name.fxp
>
Indeed, you can write your ExecScript function to do this, and keep the same syntax. Notice that for this to work with the runtime you need VFP 6 SP 3 at least. If I recall correctly, compiling wasn't available on the runtimes before. Ken could tell if this is wrong.

See you,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform