Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browser syntax
Message
 
To
29/10/2002 16:22:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00716662
Message ID:
00716682
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform