Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Print a Form?
Message
From
13/08/1998 08:47:03
 
 
To
12/08/1998 17:27:43
Zaraq Bari
Bari Studios Limited
Lahore, Pakistan
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00126160
Message ID:
00126435
Views:
17
>Also, you can automate PrintScreen process if it's your purpose..
>How can I do that Ed?
>Any code if there is will be appreciated
>Thanks
>Zaraq

DECLARE keybd_event in win32api short bVk, short bScan, integer dwFlags, integer deExtrainfo
=keybd_event(44,0,0,0)
Clear dlls
*** now screen is in clipboard
IF used("tmp")
SELECT tmp
USE
ENDIF
CREATE cursor tmp (bmp G)
APPEND blank
*** add bitmap to general field
DEFINE window bmp at 1000,1 size 1,1 && far enough
SET resource off
MODIFY general bmp nowait window bmp
KEYBOARD '{CTRL+V}'
KEYBOARD '{CTRL+W}'
Release window bmp
SET resource on
*** now you can run report form to print general field
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform