G
Guest
Hi there,
I want to use javacript in my ASPX page, using ActiveX (
ActiveXObject("Shell.Application"); ) to call external application.
How I know if the IExplorer settings for ActiveX is enabled ? Any helper
javascript class for do it ?
Any help will be appreciated, and I will be very grateful.
Thanks in advanced, greetings
The code is the following
<SCRIPT type="text/javascript" LANGUAGE="JavaScript">
function executeCommands()
{
var oShell = new ActiveXObject("Shell.Application");
var commandtoRun = "C:\\program1.exe ";
oShell.ShellExecute(commandtoRun, "/INI=param1.ini",
"", "open", "1");
}
</SCRIPT>
I want to use javacript in my ASPX page, using ActiveX (
ActiveXObject("Shell.Application"); ) to call external application.
How I know if the IExplorer settings for ActiveX is enabled ? Any helper
javascript class for do it ?
Any help will be appreciated, and I will be very grateful.
Thanks in advanced, greetings
The code is the following
<SCRIPT type="text/javascript" LANGUAGE="JavaScript">
function executeCommands()
{
var oShell = new ActiveXObject("Shell.Application");
var commandtoRun = "C:\\program1.exe ";
oShell.ShellExecute(commandtoRun, "/INI=param1.ini",
"", "open", "1");
}
</SCRIPT>