>hi
>
>Now i know how to create IE4 and navigate and close IE4. What is missing now is to print the page.
>
>oie=createobject('internetexplorer.application')
>oie.navigate('http://www.gm.com')
>oie.visible = .t.
>-> how to print
>oie.quit
>
>Michel
>
>>>Hi
>>>
>>>From VFP i must be able to do OLE automation with Internet Explorer 4. I must open html page and ask explorer to print that page. After Explorer must open another page and print again.
>>>
>>>If you know where i can found code for OLE automation between VFP and Explorer let me know.
>>>
>>>Thanks
>>>
>>>Michel
>>
>>Check the sample code on my website below.
To print run commamd:
oie.execwb(6,2,0,0)
Alex.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement