Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shell Execute function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01054755
Message ID:
01054830
Vues:
28
For InternetExplorer only:
DECLARE SwitchToThisWindow IN user32 INTEGER hWindow, INTEGER fAltTab

= OpenLink("google.com")
= OpenLink("yahoo.com")
= OpenLink("msn.com")

PROCEDURE OpenLink(cLink)
	LOCAL obj
	obj = CREATEOBJECT("InternetExplorer.Application")
	WITH obj
		.Navigate(m.cLink)
		.Visible=.T.
		= SwitchToThisWindow(.HWND, 1)
	ENDWITH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform