Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to copy file reference to Windows clipboard
Message
From
06/11/2001 06:33:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00577850
Message ID:
00577863
Views:
51
>Can one of our API gurus please show me how to copy a file reference to the Windows clipboard (and also access a file reference on the windows clipboard) so that I can copy/paste files or file references (names) between my VFP app and Windows Explorer. I have not been able to find a way to do this, although the OLE drag-and-drop capabilities of VFP make it relatively simple to drag-drop files. We all know there are times when desktop clutter makes it more convenenient to copy-paste. Help!... and thanks!

Microsoft includes several free tools in a package called PowerToys. One of the tools adds the two options to the "Send To" menu: "Copy to Clipboard as Name", "Copy to Clipboard as Contents". "Copy to Clipboard as Name" will copy path+filename of the selected file to the clipboard.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform