General information
Category:
Coding, syntax & commands
Title:
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?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only