Solved

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

Posted on 2012-03-16
2
287 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:MadShiva
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to repeat the data 4 30
Problem to Office 1 40
WPF user control poped up from a window 1 35
c#, datatable, aspx 4 15
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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 nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

763 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