Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use system default web browser
Message
De
15/09/2010 02:26:59
 
 
À
15/09/2010 01:11:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01481211
Message ID:
01481216
Vues:
46
#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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform