Solved

How to execute Local Application in ASP.NET

Posted on 2008-10-23
2
530 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

617 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