General information
Category:
COM/DCOM and OLE Automation
Title:
Printing A HTML Document In IE From VFP
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only