Christian,
I got this code years ago from the UT and it has been working for me without any problem.
It puts the screen into memory so you can Paste it wherever you want.
DECLARE INTEGER keybd_event IN Win32API ;
INTEGER, INTEGER, INTEGER, INTEGER
keybd_event(44, 0, 0, 0)
CLEAR DLLS
>Hello,
>
>I try to figure out what is the best way to create a screen capture (using VFP 8) from another application and save it in a VFP table (General field).
>
>The window name is known, so I can get the window that needs to be captured to the front and issue "Alt+printscreen" or something similar.
>Then I could create an RTF file and paste the captured image in this file, and then I can Append General this file into a VFP table.
>
>Is there another way to do this perhaps with an API function?
>
>Thanks for your help in advance.