Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execute Macro Code?
Message
De
19/04/2001 15:01:15
 
 
À
19/04/2001 14:50:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00497489
Message ID:
00497504
Vues:
13
>Steve,
>
>You're almost there with this one. Use STRTOFILE to output the contents of the memofield to a .prg, then DO it. You'll also want to assign a unique filename to a variable and macro-expand that variable or use indirect referencing. I can't say for sure if this will work inside a DLL, and can't test it right now. Try it first at the command window to be sure you've got the syntax right. VFP7 will have EXECSCRIPT to do it directly without going to the external file first.
>
>>
>>....
>>cFullMethod = Table.Memofield
>>Do cFullMethod with "nothing"
>>
>>
>>Help?

David, once you copy it to a prg, you will need to compile it and then run it.


Steve:

I have not tested this in a DLL. The only thing is, DLL will not allow for UI. That will be the only problem.

Hope this helps.
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform