Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't call a prg from inside an exe
Message
 
To
07/09/1999 13:42:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00262029
Message ID:
00262044
Views:
21
>Your code is almost exactly what I have in my vfp3 application. When I test it from the command line, it works (the prg is in the same folder as the exe) but when I run the exe I get "can't find test.prg". Reading the help on the do command in vfp3, the statement exists that "When you use DO to start a procedure in an executable version or in an application, Visual FoxPro searches only the main program of the executable version or application for the specified procedure." The application relies on an ocx graphics engine that is designed for vfp3 or I would compile it in vfp6 (if that would do the trick) but as it sits, I need a solution for the version 3 apps.
>
>Thanks...
>
>John Dennis

Without knowing details, is it possible to put the code inside a memo field of a table? Then, USE the table, find the record and using MLINE and MEMLINE functions, extract each line from the memo field and macro substitute them. It may work for VFP 3. If you try it, let me know, I'd be curious to hear. If you need more detail, let me know.
Oct 31 = Dec 25
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform