Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using the clipboard
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01453989
Message ID:
01455508
Views:
67
thanks, am most of the way there, hopefully you can clear something up for me. I've used your code and gotten the list of files on the clipboard and have the file name, but there are spaces at the end of the name that i cannot get rid of and it is causing my copy file to fail. code is here. I get the file name and it is in a variable but no matter what way i trim it it is always "C:\KERNEL\FILE1.bmp ". the spaces at the end are causing the problem I think but I can't remove them, any ideas?
~M

>Check http://www.berezniker.com/search/apachesolr_search/clipboard
>
>>
>>a customer wants to paste what ever he has into our app some how. I already use _cliptext to paste text into memofield etc and it workds a dream. This time he wants to paste a copy of an excel sheet, word document or any other file into a subfolder. How do i check that the contents of the clipboard is a file and then save it to a folder?
Go raibh maith agat

~M
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform