Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call IE Print Preview
Message
 
 
To
07/06/2005 12:56:39
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01021001
Message ID:
01021018
Views:
85
>Hi,
>Is there way to call Internet Explorer "Print Preview" window. I generate report into HTML file and want to call IE Print Preview window before print.
>
oIE = Createobject('internetexplorer.application')
oIE.Visible = .T.
oIE.Navigate("http://www.levelextreme.com")
ccOLECMDID_PRINTPREVIEW = 7
ccLECMDEXECOPT_DONTPROMPTUSER = 2
oIE.ExecWB(ccOLECMDID_PRINTPREVIEW, ccLECMDEXECOPT_DONTPROMPTUSER)
For full list of constant see http://atoutfox.org/articles.asp?ACTION=FCONSULTER&ID=0000000032
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform