Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatic Screen Capture
Message
From
17/06/1998 03:06:37
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00108898
Message ID:
00108965
Views:
32
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.
---------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform