Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Nov 21, 2019 12:29 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Sending Raw File Data to Clipboard
PostPosted: Tue Jul 03, 2012 9:00 pm 
Offline

Joined: Fri Jul 21, 2006 12:28 am
Posts: 509
If I copy furl data from the clipboard to a database in OS X and add it back to the clipboard later I can paste the file from the clipboard to a folder. The equivalent file data in Windows appears to be FileName, but I cannot paste from the clipboard in the same manner. I can confirm that the FileName data are there, but that is not enough to enable the paste function. Any idea what other data need to be added to the Windows clipboard to enable the paste function for a file?

_________________
Regards,
Carl
Capaho Web
http://www.capaho.com


Top
 Profile  
Reply with quote  
 Post subject: Re: Sending Raw File Data to Clipboard
PostPosted: Thu Jul 05, 2012 10:08 pm 
Offline

Joined: Fri Jul 21, 2006 12:28 am
Posts: 509
I solved the problem by using the extended clipboard class to loop through all of the data flavors and get their data from the clipboard, wrote them into a string separated by delimiters, base 64 encoded the raw data portions, then saved the string into a database. To put the data back on the clipboard later, I get the string from the database, split it into arrays, and base 64 decode the raw data when adding them back to the clipboard.

_________________
Regards,
Carl
Capaho Web
http://www.capaho.com


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group