Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browser syntax
Message
 
À
29/10/2002 16:22:45
Billy Bramhall
Interdirect Usa, Inc.
Houston, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00716662
Message ID:
00716682
Vues:
18
This message has been marked as the solution to the initial question of the thread.
This is how we do it:

DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
INTEGER hwnd, ;
STRING lpVerb, ;
STRING lpFile, ;
STRING lpParameters, ;
STRING lpDirectory, ;
LONG nShowCmd
=Shellexecute(0,"Open","http://www.systemedic.com","","",0)

It seems to open the window and give it focus. Hope it works for you...


>I used the syntax below in a form to initiate an internet link. However, the browser does not "pop-up" in focus. (A link on the toolbar opens). Any ideas as to have the browser window become the main window?
>
>******************************************************
>oIE = CreateObject("InternetExplorer.Application")
>oIE.Navigate2("http://www.YAHOO.com")
>oIE.Visible = .T.
>******************************************************
>
>Thanks much.
>Billy
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform