Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automating Internet Explorer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00486575
Message ID:
00486806
Vues:
16
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform