Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a Website page to MS Explorer 4.O
Message
From
26/01/2000 22:51:56
 
 
To
26/01/2000 20:46:55
Todd Wolfe
Certified Marketing Services
Kinderhook, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00323310
Message ID:
00323371
Views:
22
>If I use this RUN/N "C:\Program Files\Internet Explorer\iexplore.exe"
>in a program. Does anyone know how i can open up a specific website saved in a directory on my network from FOX PRO? Or how I can open up a www site after running explorer from FOX PRO. I am using VFP 3.0
>

You can use the ShellExecute() API call to launch it; eg:

DECLARE INTEGER ShellExecute IN SHELL32 INTEGER,STRING,STRING, STRING,STRING,INTEGER
=ShellExecute(0,"Open","http://www.levelextreme.com","","",0)

If you're capable of doing this, there are tons of compelling reasons to move off of VFP3, whose only value would be (1) run under the unsupported Win32S environment (bad idea) or (2) run on a Mac (in which case you can't use the API)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform