>>>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.
>
If you know the name and location of the browser, you can use run to start the browser and pass it the document name; on my system, this takes me to
www.ntfaq.com:RUN /N "C:\Program Files\Plus!\Microsoft Internet\IEXPLORE.EXE" "http://www.ntfaq.com"
>Brenda