edsrajesh
asked on
invoking the exe on click of submit button
i want to invoke the .exe application on click of the submit button.
i am adding the below code in my java script code,
var tempFile = "sample.exe"
var WshShell = new ActiveXObject("WScript.She ll");
WshShell.Run(tempFile);
the exe is getting invoked but the html file is opening before
running the exe. how can i avoid the opening of the html file.
i am adding the below code in my java script code,
var tempFile = "sample.exe"
var WshShell = new ActiveXObject("WScript.She
WshShell.Run(tempFile);
the exe is getting invoked but the html file is opening before
running the exe. how can i avoid the opening of the html file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
Unless it is clear to me that the question has been answered I will recommend delete. It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.
</note>
If the user does not know how to close the question, the options are here:
https://www.experts-exchange.com/help/closing.jsp
Cd&
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
Unless it is clear to me that the question has been answered I will recommend delete. It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.
</note>
If the user does not know how to close the question, the options are here:
https://www.experts-exchange.com/help/closing.jsp
Cd&
It is time to clean this abandoned question up.
I am putting it on a clean up list for CS.
<recommendation>
points to Zvonko
</recommendation>
If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.
Cd&
I am putting it on a clean up list for CS.
<recommendation>
points to Zvonko
</recommendation>
If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.
Cd&
Thanks Cd& and Mod.
a sample code for incoorporating delay functionality.
HTML>
<head>
<script>
<!--
function wait(delay){
string="pauseforalert("+de
setTimeout(string,delay);
}
function pauseforalert(delay){
alert("Ok "+delay/1000+" seconds have elapsed");
}
// -->
</script>
</HEAD>
<BODY>
<a href="javascript:void()" onClick="wait(1000);">clic
or<BR>
<a href="javascript:wait(2000
</BODY>
</HTML>