Can anyone help me to solve the problem, i want to pass the parameters between the javascript and asp.
<SCRIPT type="text/javascript" LANGUAGE="JavaScript">
<!--
function startWord(par_1)
{
var oShell = new ActiveXObject("Shell.Application");
var commandtoRun="C:\\Karan\\Automation.exe";
oShell.ShellExecute(commandtoRun, commandParms, "", "open", "1");
}
//-->
</script>
</head>
<body>
<form>
<input type="text" name="par_1" value="123">
<input type="button" value="Click me!" onclick="startWord(par_1)">
</form>
</body>
</html>
it's only open the vb.exe file, but how can i pass the parameters to this exe??
thank you for helping me~~~