M
Marcin Zmyslowski
Hello all!
I have installed MSDE on my local computer - Windows 2000 Professional.
I have created a function which runs me a link whose path is placed in
the input field. This function looks like this:
function runCommand(zmienna)
{
if (zmienna==-1)
{
var oShell = new ActiveXObject("WScript.Shell");
oShell.run(document.forms('formularz_link_2').elements('link').value,
1);
}
else
{
var oShell = new ActiveXObject("WScript.Shell");
oShell.run(document.forms('formularz_link_2').elements('link')(zmienna-1
).value, 1);
}
}
Everything is working fine, but only when files are located on my local
computer (on local IIS, on my workstation). While moving these asp files
into the IIS located on Windows 2003 Server, this function doesn`t work
properly. I got the message that object
var oShell = new ActiveXObject("WScript.Shell");
cannot be created.
Do you have any idea how to fix the problem?
Kind regards
Marcin
I have installed MSDE on my local computer - Windows 2000 Professional.
I have created a function which runs me a link whose path is placed in
the input field. This function looks like this:
function runCommand(zmienna)
{
if (zmienna==-1)
{
var oShell = new ActiveXObject("WScript.Shell");
oShell.run(document.forms('formularz_link_2').elements('link').value,
1);
}
else
{
var oShell = new ActiveXObject("WScript.Shell");
oShell.run(document.forms('formularz_link_2').elements('link')(zmienna-1
).value, 1);
}
}
Everything is working fine, but only when files are located on my local
computer (on local IIS, on my workstation). While moving these asp files
into the IIS located on Windows 2003 Server, this function doesn`t work
properly. I got the message that object
var oShell = new ActiveXObject("WScript.Shell");
cannot be created.
Do you have any idea how to fix the problem?
Kind regards
Marcin