Solved

How to execute Local Application in ASP.NET

Posted on 2008-10-23
2
525 Views
Last Modified: 2013-11-07
Hi All

I created an ASP.NET Web Application for my Client.  Now my client ask me to put a Link in the web site to open winword.exe directly from the browser.   But I don't think whether it is possible to call a local exe application from the browser.  

It may be possible with client side Java Script???  

Thanks
Sundar
0
Comment
Question by:sundar_amu
2 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 250 total points
ID: 22783775
All ASP.NET code runs on the server. When you run the app on your localhost, you're sitting at the server and can see the VB program run. When another user visits the page from his own PC, the VB program still runs, but it does on the server so the user can't see it. There's no way to launch an executable on the client PC from ASP.NET server-side code.

You have a chance that it will run if you use javascript (but no certainty because of security reasons).
See this thread for more info: http://bytes.com/forum/thread92803.html
0
 
LVL 13

Expert Comment

by:TechTiger007
ID: 22783788
When you say "put a link in website to open winword.exe directly from browser", are you trying to open a word document  in winword in browser?
If that is the case then use the code below. This will open the file from web server in the browser
http://www.xefteri.com/articles/show.cfm?id=8
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question