Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HTM:
Message
De
13/04/2001 02:27:47
 
 
À
13/04/2001 02:12:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: HTM:
Divers
Thread ID:
00495211
Message ID:
00495213
Vues:
13
>how to call the html files from vfp menu

You want to just bring up regular HTML files in the Browser window from VFP? Two easy methods, using Windows' default browser through ShellExecute:
DECLARE INTEGER ShellExecute ;
	    IN SHELL32.DLL ;
	    INTEGER nWinHandle,;
	    STRING cOperation,;   
	    STRING cFileName,;
	    STRING cParameters,;
	    STRING cDirectory,;
	    INTEGER nShowWindow
=ShellExecute(0,"Open", "http://www.microsoft.com","","",1)
or IE Automation:
oIE = createobject('internetexplorer.application')
oIE.Navigate('www.microsoft.com')
oIE.Visible = .T.
Instead of a web addres, you can use a local disk file too.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform