Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Print a Form?
Message
De
13/08/1998 08:47:03
 
 
À
12/08/1998 17:27:43
Zaraq Bari
Bari Studios Limited
Lahore, Pakistan
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00126160
Message ID:
00126435
Vues:
16
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform