Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find Iexpore.exe path
Message
 
To
06/08/2009 15:52:57
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01416565
Message ID:
01416571
Views:
57
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform