Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to open an URL in IE
Message
From
22/01/2001 14:06:20
 
 
To
22/01/2001 13:30:15
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00466796
Message ID:
00466822
Views:
13
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform