Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to open an URL in IE
Message
De
22/01/2001 14:06:20
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00466796
Message ID:
00466822
Vues:
14
Augusto, try the ShellExecute API function. The nice thing about it is that it then doesn't matter if the user has some other browser. The file associations will decide what browser to use.

for example,

==============================
Local lcOp, lcFile, lnRetVal

lcOp = "open"
lcFile = "http://www.microsoft.com" && your url goes here

DECLARE INTEGER ShellExecute in shell32.dll ;
INTEGER hwnd, STRING @lpOperation, STRING @lpFile, STRING @lpParam, ;
STRING @lpDir, INTEGER nShowCmd

lnRetVal = ShellExecute(0, @lcOp, @lcFile, .NULL., .NULL., 0)

===============================

Alan


>Dear,
>
>I need open an URL in internet explorer by clicking in a text on my form.
>
>T.I.A.
>Augusto.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform