>Are you wanting to copy the file contents to the clipboard? Or a file, so it can paste into something like Windows Explorer?
Yes Sir, I want copy the file contents to the clipboard.
Hi Mehmood
You can use function "FILETOSTR()" to copy the contents of a file to clipboard
_cliptext = FILETOSTR("filename")
Thanks
>
>>Dear Sir,
>>I want to copy file to _clipboard, so I found this link
>>
https://www.berezniker.com/content/pages/visual-foxpro/copy-files-clipboard>>the link has a function like this
>>
>>FUNCTION CopyFiles2Clipboard(taFileList)
>>
>>
>>I think it copies list of files, but I want to pass a single file in function parameter like this
>>
>>
>>cFile=getfile()
>>
>>
>>How is it possible, please help