Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launch html file from VFP
Message
From
20/12/1999 12:01:46
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00306169
Message ID:
00306231
Views:
29
>>>How do i launch a html file from VFP. Also how would I do it from a command line?
>>>
>
>>There are tons of way - the ActiveX WebBrowser control, the FFC _html.VCX classes, or directly through the InternetExplorer.Application or Shell.Application objects. The following would use Shell.Application to launch an html file:
>
>>oShell=CREATEOBJ('Shell.Application')
>>oShell.Open("C:\My Files\My HTML Document.htm") && local
>>oShell.Open("http://www.levelextreme.com") && on the net
>
>Any idea how to launch an html file from the command line? Is there a way? I realize you do not "run" an html file, but hoping there an easy to launch an html file for viewing from within their default browser from the command line? Any ideas? Safe to assume it will all be ie or netscape and a windows platform.
>

As I think about it, if it's at the command line level (I'm assuming the command box in VFP), why not just click the Windows Start button, and enter the URL or file name in the Start menu Run dialog?
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