Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automation and IE
Message
 
To
17/06/2005 11:12:45
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01024241
Message ID:
01024369
Views:
29
#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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform