Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to Attach to IE Window
Message
De
21/03/2004 16:31:57
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Need to Attach to IE Window
Divers
Thread ID:
00888324
Message ID:
00888324
Vues:
83
Hey all,

I want to do something really simple. I used Internet.Application to navigate through a web site, fill in forms, and press buttons. This results in a new IE window popping up which contains the results I want.

All I need to do is be able to attach to this new IE window. AFter exyensive research on the web, I know that SHDocVw has something to do with this, as it offer a way to enumerate open explorer windows (both Internet and standard Windows Explorer). So, I though I could do sometihng like:
oSW = CREATEOBJECT("SHDocVw.ShellWindows")
and then use the oSW object to find open IE windows. VFP tells me there is no such class definition. How does one use the SHDocVw capabilities? What is the proper name to use for COM automation? It loosk like it is incredibly simple in VB, but it is done via the "New" keyword instead of CREATEOBJECT(), so I don't know the magic going on there.

I am sooo close to having this working, so any help here will be incredibly appreciated. How does one use the SHDocVw functionality from VFP? THANKS!

JoeK
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform