Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatic Screen Capture
Message
De
19/06/1998 09:09:41
 
 
À
17/06/1998 03:06:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00108898
Message ID:
00109870
Vues:
40
>declare keybd_event in win32api ;
> short bvk, short bscan, integer dwflags, integer deextrainfo
>activate screen
>= keybd_event(44, 1, 0, 0) && this copy screen to clipboard
>
>now you can paste in word document
>
>obj_word = createobject("word.application")
>obj_word.documents.Add()
>obj_word.Selection.Paste
>obj_word.activedocument.printout(.f.)
>obj_word.quit(0)
>release obj_word
>
>Hope this helps. Thanks to George Tasker.


How do you guys ever find these things out?
Peter
Peter Cortiel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform