Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automate a Website
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Automate a Website
Divers
Thread ID:
00689020
Message ID:
00689020
Vues:
63
Hi

I am using CREATEOBJECT("InternetExplorer.Application") then navigating to the website and then using the code below to start to navigae from page to page.

oShell = CreateObject("WScript.Shell")
oShell.AppActivate(oIE.Document.Title)
oShell.SendKeys("{TAB}{ENTER}")
oShell.SendKeys("{TAB}{TAB}{TAB}{ENTER}")


This is woking fine until I get to the page I'am after, the website then displays the page in a new instance of internet explorer, when this happens I can't control the new page. I can't navagate to the page directly because the url changes depending on the login user id etc.

I need to get the information from the new page into a VFP7 application .
The page is just a simple html page with only csv information displayed on it.

So my question is how can I control the new instance of internet explorer created by the website so I can retrieve the information.

Thanks for any suggestions.

John
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform