Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatic Screen Capture
Message
De
17/06/1998 03:06:37
 
 
À
16/06/1998 19:31:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00108898
Message ID:
00108965
Vues:
34
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.
Saludos,
A.G.P.
---------
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform