Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call IE Print Preview
Message
 
À
07/06/2005 13:48:29
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01021001
Message ID:
01021030
Vues:
82
This message has been marked as the solution to the initial question of the thread.
See Thread #795983 Message #796642


>Privet Sergey,
>Thanks for reply. Question. Is it possible to keep IE window visible false and show only print preview?
>
>Den.
>
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform