Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Runtime Exceptions when trying to submit data 28 37
how to read json value 2 32
Run time Error 4 35
C# guarantee sql connection close 6 32
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

863 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

23 Experts available now in Live!

Get 1:1 Help Now