Avatar of Mahesh Yadav
Mahesh Yadav
Flag for India asked on

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

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.
C#Web Browsers

Avatar of undefined
Last Comment
Dave Baldwin

8/22/2022 - Mon
Tobias

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.
ASKER CERTIFIED SOLUTION
Dave Baldwin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes