Solved

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

Posted on 2012-03-16
2
289 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
[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 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 83

Accepted Solution

by:
Dave Baldwin earned 340 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

635 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