Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTM:
Message
From
13/04/2001 02:27:47
 
 
To
13/04/2001 02:12:47
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: HTM:
Miscellaneous
Thread ID:
00495211
Message ID:
00495213
Views:
12
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform