Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute Macro Code?
Message
From
19/04/2001 15:01:15
 
 
To
19/04/2001 14:50:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00497489
Message ID:
00497504
Views:
12
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform