Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to start an exe or a program on client machine from browser.

Posted on 2012-03-16
2
Medium Priority
?
292 Views
Last Modified: 2012-04-02
I am creating a website which provides the facility to the users to edit their documents without downloading them, so for that i created a exe which do this work.

My requirement is how can I open my already installed program or exe on client machine from browser. (Like apple site runs itune on client machine)

I tried with ActiveX in javascript but that is also not working. It is giving error that object can't be created.

I also tried with using the batch file but in i.e. it gives the option to run directly but in firefox and chrome it is first downloading and then user can start it.

I had heared about protocol handler, but don't know anything about this.

Can anyone help me out with some code or some helpful link.

Thanks.
0
Comment
Question by:ziorinfo
2 Comments
 
LVL 10

Expert Comment

by:Tobias
ID: 37728254
Dear,

This is not a good pratice. ActiveX will only work for Internet Explorer, and who is still using this browser ?

Also run ActiveX on website that is not trusted is really a bad idea. Let the user download your exe and that's it.
0
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 1360 total points
ID: 37728368
When you install iTunes, one of the programs that gets installed is 'iTunesHelper.exe' which is a network monitor program.  In IE and Firefox, I see that an addon called "iTunesApplicationDetector" has been installed also.  They use those programs to communicate and start iTunes when it is appropriate.  They are not using a simple link to do it.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

916 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