>>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,