Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use system default web browser
Message
From
15/09/2010 02:26:59
 
 
To
15/09/2010 01:11:04
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01481211
Message ID:
01481216
Views:
47
#DEFINE SW_SHOWNORMAL 1
#DEFINE SW_SHOWMINIMIZED 2
#DEFINE SW_SHOWMAXIMIZED 3
DECLARE INTEGER ShellExecute IN shell32.dll ; 
   INTEGER hndWin, STRING cAction, STRING cFileName, ; 
   STRING cParams, STRING cDir, INTEGER nShowWin
lcURL='www.yahoo.com' 
ShellExecute( 0, "open", lcURL, "", "", SW_SHOWNORMAL )
>I am writing a fairly simple database program and as part of the deal they want to browse the web from within the app. I know how to open ie within fox
>
>Code I am using
>
>oIE = createobject("internetexplorer.application")
>oIe.Navigate("www.yahoo.com")
>oIE.visible = .t.
>
>
>Is there a different variable or similar simple code to use default browser (IE, Firefox, Chrome or good old Netscape ha ha)
>
>Thanks,
>
>Frank
Previous
Reply
Map
View

Click here to load this message in the networking platform