Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automation and IE
Message
 
À
17/06/2005 11:12:45
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01024241
Message ID:
01024369
Vues:
30
#DEFINE OLECMDEXECOPT_PROMPTUSER 1
#DEFINE OLECMDID_PRINT 6
oIE = CREATEOBJECT('internetexplorer.application')
oIE.navigate('about:blank')
_screen.Visible = .f.
oIE.ExecWB(OLECMDID_PRINT , OLECMDEXECOPT_PROMPTUSER)
oIE.visible = .t.
>David, Mike--
>
>Thanks. Very interesting stuff.
>
>It appears that a better solution for this problem might be to click on the print button provided on the web page and send the report to the Generic Text printer provided by Windows (but have the Print dialog box send the text to a local disk file rather than a printer). If I do this, I must automate the fiddling in the Print dialog box to select the Generic printer, select the print to file and specify the file name.
>
>When I view the source of the web page I need, it has tons of Java Script in addition to the HTML. Printing to the Generic Text printer gives me just what I need.
>
>Tim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform