Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to open IE from vfp
Message
From
02/08/2003 01:26:22
Samir Chheda
Remittag Software Pvt. Ltd.
Mumbai, India
 
 
To
01/08/2003 10:26:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00815855
Message ID:
00816158
Views:
24
Hi Venkat,

I use ShellExecute API for opening any file or a website in the related application or web browser.

The following is the snippet for the same-

Declare Integer ShellExecute ;
IN SHELL32.Dll ;
INTEGER nWinHandle,;
STRING cOperation,;
STRING cFileName,;
STRING cParameters,;
STRING cDirectory,;
INTEGER nShowWindow

If ShellExecute(0,"OPEN","http//www.msn.com","","",1) < 33
Messagebox("Unable to complete the requested task!",0+64,"Error")
Endif


Regards,
Samir
Attitude Determines Altitude
Previous
Reply
Map
View

Click here to load this message in the networking platform