Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO test.prg does not work
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00043577
Message ID:
00043626
Vues:
37
>>There is your answer. The .PRG file is the source and the .FXP file is the compiled (object) code. .PRGs can't be compiled at runtime; they require the development environment.
>
>If this is true, why does it work on Windows 95? When I move the files to the NT server, I get the error. I am using the same machine when I run the program on Windows 95 and the server.

Probably you have the fxp somewhere in the path, because Bryan Jackson is right: you can't compile from an exe.

> Here is something which I found to be weird. In my EXE I put the following lines:
>
>=MESSAGEBOX(IIF(FILE("test.prg"), "True", "False"))
>DO Test.prg
>
>The messagebox display True, but the next line give an error: "unable to find test.prg".

This is because it can't compile and so it can't find the fxp file. Sure, the error message is not correct.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform