>I have written a document management system. Due to user request i neeed a way of copying the (jpg) file referenced in the dbf and displayed on screen, to the clipboard. so that the image file can be pasted into word and used in a quote or printed.
>
>The whole point of the document management system is that it "protects" users from directly interacting with the files. so i need an easy way to copy/paste
Short of messing with writing .fll files and setting different formats of clipboard contents, the shortest way would probably be to write a macro in Word which inserts a picture file, and have it converted to VFP code - so you would use automation to, say, create a blank document containing only that one picture. The user would then be able to copy the image into another document within Word. Or you could write a COM object in VFP which would submit the filename to a Word macro to insert the picture.