Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print an existing HTML document
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00979891
Message ID:
00979923
Vues:
14
>I need to print an existing HTML document that a user passes me. Is there something built into windows that will allow me to do this? I could automate IE and then print, but was wondering if there was a better way.
>
>Thanks
>
>Don Tanner

Just use ShellExecute:
DECLARE INTEGER ShellExecute IN SHELL32.DLL ;
        INTEGER lnHWnd, ;
        STRING lcAction, ;   
        STRING lcFileName, ;
        STRING lcExeParams, ;
        STRING lcDefDir, ;
        INTEGER lnShowWindow

ShellExecute( 0, 'print', filename, "", "", 1 )
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform