Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find Iexpore.exe path
Message
 
À
06/08/2009 15:52:57
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01416565
Message ID:
01416571
Vues:
71
>Using VFP9, how can I find the path to where Iexplore.exe is installed? I want to be able to use a VFP Run command to start Internet Explorer from a VFP app but need the full path to the EXE.
>
>Thanks,
>
>Jerry
Try this
#define SW_SHOW_NORMAL 1
#define SW_SHOW_MINIMIZED 2
#define SW_SHOW_MAXIMIZED 3
oShell = createobject("WScript.Shell")
oShell.Run("iexplore.exe",SW_SHOW_NORMAL,.F.)
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform