Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy to clip
Message
From
16/11/2020 03:14:35
 
 
To
15/11/2020 23:52:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01677156
Message ID:
01677170
Views:
65
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform