Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Launch html file from VFP
Message
De
20/12/1999 11:14:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00306169
Message ID:
00306180
Vues:
26
>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
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform