>From with in Internet Explorer I would like to print to a printer and/or copy selected pages to the clip board using Active X controls. I have opened an Internet Explorer session and navagated to a page with the code below:
>
>oie = CREATEOBJECT("internetexplorer.application")
>oie.Visible = .T.
>oie.Navigate("
http://msdn.microsoft.com/vfoxpro/")
>oie.Application.Quit
>
>I want to be able to print and/or copy a pages contents (select all) between the navigate and quit controls. Any help would be greatly appreciated.
I put a sample file up on the UT that demonstrates automating IE. It is also available at
http://www.shelbynet.com/vfp/downloads.htm Additionally, you will want MS's web toys. There is a link at the bottom of the main page on
www.shelbynet.com . Once installed, you can right mouse click on a web page and it will show you the document tree.
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright