Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding an instance of IE
Message
 
 
À
27/06/2003 08:53:27
Barbara Hill
B.L. Hill Applications Limited
Halifax, Nouvelle-Écosse, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00804631
Message ID:
00805366
Vues:
47
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform