I have a Windows application (a .EXE file written in C and built with MS-Visual Studio) that outputs ASCII text to stdout. I want to improve ASCII text to include limited HTML with multiple links. Id like to call this application (.EXE file) and display the result of this application and stream it to the browser. This is not one time, every new web page will be a different launch of a local application!
The attached HTML / java-script application works for me to execute the application, but the output went to the DOS window window and did not translate it to the browser. Id like to update this HTML application so that the Browser can capture this text (which has been expanded using HTML) and display it in a browser.
<body> <script> function go() { w = new ActiveXObject("WScript.Shell"); w.run('C:/DL/Browser/mk_html.exe'); return true; } </script> <form> Run My Application (Window with explorer only) <input type="button" value="Go" onClick="return go()"> </FORM> </body>
javascript windows internet-explorer console-application
Trey sherrill
source share