Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE automation with Internet Explorer
Message
 
To
18/12/1998 09:05:05
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00168434
Message ID:
00168843
Views:
23
>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.


There is a print screen class that someone uploaded to the UT this week that might do it. Also, you can search MS website and knowledge base for the object model of IE4. I seem to recall a print method somewhere in there.

John
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform