Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
DO test.prg does not work
I have a VFP EXE that calls another EXE which calls a PRG. This works just fine on my Windows 95 workstation. When I move it to our NT 4.0 server, FoxPro says it cannot find the PRG file. Here are the steps to reproduce my error:
1) Create a PRG file and put the following in it:
DO test.prg
RETURN
2) Create a project, include the PRG file, and compile to an EXE. Call the EXE prog1.exe.
3) Create another PRG file called test.prg and put the following in it:
=MESSAGEBOX("Hello")
RETURN
4) Make sure test.prg and prog1.exe are in the same directory.
5) Go to Windows Explorer an run prog1.exe
If I compile the PRG to a FXP, it works on the server. Test.prg is not included in the project; it is a stand alone PRG. Any comments?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement