>Dear all
>i wanna know how to get when i strore some string in a variable can send it into a textbox?
>
>for example
>
>i have w= "hi all"
>i want to send the hi all in to a txt file or someonelse to can copy that and paste in to another file...
>
You can place the content of a memvar on the clipboard by assigning it to the system variable _CLIPTEXT
_CLIPTEXT = w
You can write to a text file in any of a number of ways; in VFP6, the easiest is STRTOFILE()
? STRTOFILE(w,"C:\MyRandomTextFile.TXT")
Prior to VFP6, you could write a string to a file, but it took more than 1 line of code to acheive, using any of dozens of approaches.