Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save screen capture
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00871955
Message ID:
00880592
Vues:
16
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform