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

Click here to load this message in the networking platform