Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy a file to the clipboard - I think!! ??
Message
From
14/09/2001 17:05:17
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
14/09/2001 11:15:14
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00556507
Message ID:
00556802
Views:
16
>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform