Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: file
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 18:11pm

1 solution

Rate this: bad
good
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!
  Permalink  

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

  Print Answers RSS
0 Afzaal Ahmad Zeeshan 256
1 OriginalGriff 251
2 BillWoodruff 240
3 Maciej Los 230
4 Sergey Alexandrovich Kryukov 195
0 OriginalGriff 6,419
1 Sergey Alexandrovich Kryukov 6,008
2 DamithSL 5,183
3 Manas Bhardwaj 4,673
4 Maciej Los 4,070


Advertise | Privacy | Mobile
Web01 | 2.8.1411019.1 | Last Updated 24 Jun 2013
Copyright © CodeProject, 1999-2014
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