I have a image editing software and I am trying to run this software inside a webpage in frames, so that the user first downloads the software and this software is stored and installed in a targeted folder and the html document accesses this location inside frames, i have tried linking using <object>
and <embed>
tag, but it gives option to download the executable whereas I want it to work within the web page, so is there any option so that I can link this executable such that it runs inside my webpage?
Asked
Active
Viewed 317 times
0

Mr Lister
- 45,515
- 15
- 108
- 150

Sandeep Kumar
- 11
- 3
-
Possible duplicate of [Open an exe file through a link in a HTML file?](http://stackoverflow.com/questions/4252913/open-an-exe-file-through-a-link-in-a-html-file) – Timothée Bourguignon Mar 10 '16 at 09:41
-
From what I can see, you want the web page to access the data on the local client machine? – Jacques Koekemoer Mar 10 '16 at 10:05
1 Answers
0
It is possible to execute EXE files using ActiveXObject and IE. Example:
var cmdShell = new ActiveXObject("WScript.Shell");
var myPath = '"C:\\New Folder\\myExe.exe"';
cmdShell.Run(myPath , 1, true);
Even that is unlikely to work in the real world - too many rogue ActiveX controls mean that support for them even in IE is normally disabled.
The chances of your getting this to work at all outside a corporate environment where the use of a specific ActiveX control can be mandated are very slim.
Outside this, there is no guarantee that the required EXE file even exists - browsers run on Mac, Linux, mobile devices and even internet enabled fridges.
If it was possible, it would be a great safety flaw.

AndreFeijo
- 10,044
- 7
- 34
- 64