I am trying to use html/javascript to run a local .exe file in a local browser. The .exe file will generate asci text and I have it programed to encapsulate the text in html legible to the browser. But I want to have it load the new output from the .exe in the current browser, replacing whats there now.
Share
There are two solutions I can think of.
1) In IE – Use WScript.Shell and do whatever you need in Windows.
In IE – Here is a sample to open notepad.
You place your executable there and then have it write it’s file and then read the file.
Here is a sample for reading from a file
2) Create a signed Java Applet and talk to it through JavaScript
Maybe there is a way to talk to a Java Applet from the Javascript and then have the Applet do the work – It would probably need to be signed.