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
Solved

How to run launcher (.exe file) on web browser firefox (or chrome)

Posted on 2011-09-08
4
1,671 Views
Last Modified: 2012-05-12
Hi, I'm going to develop application(using .net & C#)  that enable run launcher on browser. but i don't have enough information where to start..

I understand I can use Active X to run .exe file in IE. As you may know that, i can not use Active X in firefox or Chrome.

for example,
when user click "start" button on web browser, it will start run .exe file on desktop.

At this point, some key value should be passed to the launcher.

if there is any sample code or source for firefox or chrome, please show me...

any comment would be fine.

Thanks in advance


















0
Comment
Question by:ndoorsinteractive
  • 2
4 Comments
 
LVL 15

Expert Comment

by:Minh Võ Công
ID: 36507641
0
 

Author Comment

by:ndoorsinteractive
ID: 36508073
Minhvc, Thanks for your comment, but i mean scripting in Server side not client side..
0
 
LVL 33

Accepted Solution

by:
Todd Gerbert earned 250 total points
ID: 36512248
Server-side code only ever runs on the server (which is why it's called server-side), and can't do anything to the client computer except send text.  You can't launch arbitrary executable code on the client without using something like ActiveX (or an extension, in the case of FireFox or Chrome).

What you might be able to do is register a URL protocol handler (http://msdn.microsoft.com/en-us/library/aa767914%28v=vs.85%29.aspx), using a "setup" application that the user must first manually download & install, and thereafter you could embed your custom URLs in your web pages - though I think that approach might only apply to Internet Explorer.
0
 
LVL 33

Expert Comment

by:Todd Gerbert
ID: 36512294
http:#a36512248 seems to work in Internet Explorer, FireFox, and Safari, but not Chrome.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Initial get page response times and IIS8 15 55
Testing of the web services 1 31
Please explain purpose of GZIP 4 34
Why use this lambda? 12 26
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

791 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