Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't call a prg from inside an exe
Message
 
À
07/09/1999 13:42:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00262029
Message ID:
00262044
Vues:
20
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform