Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save screen capture
Message
From
25/02/2004 01:06:26
 
 
To
29/01/2004 14:08:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00871955
Message ID:
00880592
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
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
 ** Execute an alt-printscreen to capture active window:
 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.
Previous
Reply
Map
View

Click here to load this message in the networking platform