Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO (FileName) does not work!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01054057
Message ID:
01054092
Vues:
29
This message has been marked as the solution to the initial question of the thread.
The runtime DLL's also have to be SP5.

>I do have SP5, and I did this in another project and it worked. It is not working in this new project though.
>
>Thank you,
>Ali
>
>
>>You cannot run .PRG from runtime. It has to be compiled to FXP. The COMPILE command requires VFP6SP3 at least.
>>
>>>I run this in my project:
>>>
>>>m.myFileName = “C:\MyFolder\Filename.PRG”
>>>If FILE(m.myFileName)
>>>      DO      (m.FileName)
>>>EndIf
>>>
>>>But I get this error:
>>>File “Filename.PRG” does not exist.
>>>
>>>I Thought adding the following line before "DO command" would solve the problem:
>>>
>>>Compile      (m.FileName)
>>>
>>>But I get this additional error for the compile command too:
>>>Feature is not available
>>>
>>>Does any body have any idea on this?
>>>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform