Solved

How to execute Local Application in ASP.NET

Posted on 2008-10-23
2
522 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ASP.NET e-commerce website 4 30
.Net Web Site Password specs 2 21
.net Multiple Row Form Fields Data Entry 4 19
Asp.net mvc 5 5 22
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now