Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO test.prg does not work
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
DO test.prg does not work
Miscellaneous
Thread ID:
00043577
Message ID:
00043577
Views:
72
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
Map
View

Click here to load this message in the networking platform