Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding an instance of IE
Message
 
 
To
27/06/2003 08:53:27
Barbara Hill
B.L. Hill Applications Limited
Halifax, Nova Scotia, Canada
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00804631
Message ID:
00805366
Views:
46
Hi Barbara,

You can get the list of all open instances of IE using code below. You'll have to look into each IE instance properties to figure out which one you need.
oShell = CREATEOBJ('Shell.Application')
oIEColl = oShell.Windows
FOR EACH oIE IN oIEColl
	IF "IEXPLORE.EXE" $ oIE.FullName
		? oIE.LocationName
		? oIE.hWnd
		? oIE.LocationURL
	ENDIF
ENDFOR
oIEColl = NULL
oShell = NULL
>Hi All,
>
>I have a VFP 6 application that creates an IE object, and uses that object to navigate to a particular page, fill in the fields on the selected page (a query), submit the page and then make IE visible to display the results.
>
>Now the web site has changed so that the option starts another instance of IE for the query page. Is there a way I can search for that instance of IE and manipulate it to acheive the same results?
>
>
>Thanks
>
>Barb Hill
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform