Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a program from within the compiled app.
Message
From
28/08/1997 16:06:29
 
 
To
27/08/1997 15:55:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00047200
Message ID:
00047426
Views:
27
>OK. I thought that I had this allstraightened out in my head, but I can't get it to work. I want to run a .prg from withinthe .exe, but I want the prg compiled with the exe, so I don't have to ship it. The program is included in the project, but when I issue "DO myprogram" or "DO myprogram.prg" it gives a file not found error. I don't can't give the path name because the path should be irrelevant on the user's machine. What is the syntax I am looking for?

Try putting the Relative Path in there anyway. For example, SET PROCEDURE TO progs/utility.prg. The compiled program should be able to find it even if the folder/program don't exist.
-Brett
Previous
Reply
Map
View

Click here to load this message in the networking platform