2
I have a code that opens an external software my application.
<script>
function run(file) {
var ws;
ws = new ActiveXObject("WScript.Shell");
ws.run(file);
}
</script>
Only that external software opens on computer as normally, I want to make this software open in html web page.
As I could pin this software to the page, it is possible to do this?
I’m not sure, but I think you need a back-end to be able to execute the script.
– Marllon Nasser
this code I put above is already working, the software is being opened normally, now I need to fix it on the page. You think I need a back-end for this?
– Lorena
You want to make an . exe open inside an html?
– Glauber Cezar
that! It is possible?
– Lorena
I don’t understand well, but you want to open in the user’s browser an executable that is on the server?
– Ricardo Pontual
That’s right Ricardo.
– Lorena
So, @Lorena, you want to open on the client side an executable that is on the server. I think only with back end even... I can’t think of a solution like this without back end.
– Marllon Nasser
you will need a language that runs on the server side, PHP example
– Robson gomes de jesus
Yes @Marllonnasser this is already doing, what I need now is to do as if the external software and my application were one thing, ie make the software run within the application.
– Lorena
So Lorena, your script works if accessed directly, now Voce needs a web language to run this script and print to the user the result of the script
– Robson gomes de jesus
It would be good to give more details, what exactly this script does, what end content needs to be displayed to the user ,etc...
– Robson gomes de jesus
The final content is software run on screen for the user to stir, external software integrated with the web page, as if the two are the same thing.
– Lorena