Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execscript
Message
From
26/04/2005 21:36:23
 
 
To
26/04/2005 18:56:44
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01008653
Message ID:
01008686
Views:
18
>>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,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform