Run exe on client Machine
-
Hi, I have created one exe file. File is on server. Now I want to run this exe on client Machine. When ever my web application's webpage is open it will ask for run that exe. How to do that ? If I am writting window.open("EXE PATH"); in javascript. then at other side dialog box of open, save , cancel is coming. When I am trying to open it. Its giving error like "EXE name. has encountered a problemm and need to close....." Whats problem here ?
Thanks, Sun Rays
-
Hi, I have created one exe file. File is on server. Now I want to run this exe on client Machine. When ever my web application's webpage is open it will ask for run that exe. How to do that ? If I am writting window.open("EXE PATH"); in javascript. then at other side dialog box of open, save , cancel is coming. When I am trying to open it. Its giving error like "EXE name. has encountered a problemm and need to close....." Whats problem here ?
Thanks, Sun Rays
Thankfully, what you want to do, you can't do. Imagine how many viruses you'd have running wild on your PC, if you could.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Hi, I have created one exe file. File is on server. Now I want to run this exe on client Machine. When ever my web application's webpage is open it will ask for run that exe. How to do that ? If I am writting window.open("EXE PATH"); in javascript. then at other side dialog box of open, save , cancel is coming. When I am trying to open it. Its giving error like "EXE name. has encountered a problemm and need to close....." Whats problem here ?
Thanks, Sun Rays
Sun Rays wrote:
When ever my web application's webpage is open it will ask for run that exe.
Exactly. You can't ever start an application from the browser without the user having to allow it. Any solution means that there is user confirmation at some point.
Sun Rays wrote:
Its giving error like "EXE name. has encountered a problemm and need to close....."
That means that your program is faulty, and has crashed.
--- "Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things." -- Douglas Adams
-
Thankfully, what you want to do, you can't do. Imagine how many viruses you'd have running wild on your PC, if you could.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Christian Graus wrote:
Thankfully, what you want to do, you can't do
Of course you can. You can have a hyperlink to an EXE file and the browser will ask if you want to "run/save" the file. This is the behaviour the OP described its just that his EXE is crashing as it runs.
-
Hi, I have created one exe file. File is on server. Now I want to run this exe on client Machine. When ever my web application's webpage is open it will ask for run that exe. How to do that ? If I am writting window.open("EXE PATH"); in javascript. then at other side dialog box of open, save , cancel is coming. When I am trying to open it. Its giving error like "EXE name. has encountered a problemm and need to close....." Whats problem here ?
Thanks, Sun Rays
-
Christian Graus wrote:
Thankfully, what you want to do, you can't do
Of course you can. You can have a hyperlink to an EXE file and the browser will ask if you want to "run/save" the file. This is the behaviour the OP described its just that his EXE is crashing as it runs.