Click here to Skip to main content
13,046,375 members (118,942 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi frnds,

I have a doubt regarding web application(VS 2012). In windows applications, there is possibility to open a file using the exe(ie, by right clicking the file(eg .txt file) and open with this application). In this way we can open any file in our windows application.

Is there any way to do this with ASP.Net web application ?
ie, I want to open a file in the web application by right clicking on the file and choose "Open with.."

Tanks in advance..
Posted 21-Jun-13 17:11pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Just think about it: where does your local application run? And where does your Web Application run? And what about security: would you like that some application running somewhere on a server in the web could simply access any file on your computer?
So, the answer is: you cannot do so. Fortunately!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 24 Jun 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100