Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to Attach to IE Window
Message
From
21/03/2004 16:31:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Need to Attach to IE Window
Miscellaneous
Thread ID:
00888324
Message ID:
00888324
Views:
82
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
Next
Reply
Map
View

Click here to load this message in the networking platform