Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using the clipboard
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01453989
Message ID:
01455514
Vues:
55
>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?

May be it's not the space, but chr(0) ? It sounds like you got chr(0) at the end of the file name.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform