Hi,

I want to write a code wherein if a user clicks on a link(<a href=..>), the file pointed by that link is opened in the appropriate executable. Say, if a link points to a .xls file, the onclick of the link should open the file in Excel.. if the file is a .doc, then it should get opened in word and so on.
And for the case where the extension is not associated with any executable, the "Open with.." dialog box should be thrown.

Does anyone have any ideas on how to go about this?

Thanks for the help.

Regards,
Padma