Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launch html file from VFP
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00306169
Message ID:
00306213
Views:
21
>>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.

Brenda
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform