Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing A HTML Document In IE From VFP
Message
From
06/06/2001 11:19:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Printing A HTML Document In IE From VFP
Miscellaneous
Thread ID:
00515813
Message ID:
00515813
Views:
82
I am also trying to print a HTML file from Fox code without user intervention. I am using the following code, but the syntax or the third line must be wrong (I got it from a VB example). Can somebody translate this to VFP please?

oIE = CREATEOBJECT("InternetExplorer.Application")
oIE.Navigate("c:\clients\impamisc\faxhtml1.htm")
oIE.ExecWB( OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, 0, 0)

TIA, Kevin
Next
Reply
Map
View

Click here to load this message in the networking platform