>>>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?