Solved

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

Posted on 2011-09-08
4
1,876 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
[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
4 Comments
 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

691 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