>hello,
>
>my program generates a text string and put it in a textbox. I want to let the users to copy the string by clicking a "copy" button, such that he/she can use the string by pasting it on other programs (word, text editor, etc).
>
>How can i "copy" the string for users to "paste"? Any help/hints will be greatly appreciated, thanks!
They can simply highlight the text and use the native Windows Copy capability (you'll want to enable the Copy/Cut/Paste menu points in the Edit menu tab for your VFP menu) and this will load the highlighted text into the clipboard; they can then paste it at will.
If you want to assign the current value of a textbox to the clipboard programmatically, try:
_CLIPTEXT = thisform.MyTextBox.Value