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