im having trouble trying to open a file. it exists on the server and through asp, im creating a form with a radio button. click the button and that file opens inside it's program. (file name is dynamically assigned to the buttons value)
intially i tried using the wscript.createobject("wscript.wshell"), but the generated an error. (wscript needed or something like that)
then i tried server.createobject... didn't work either.
then tried just createobject. error (activexobject can't create...)
i found this code somewhere
and i generate a permissions denied error.
without changing the browsers permission (if thats why the error is generrated) how can i open this file on the clients computer? (again file located on server)
Mr. Steve
intially i tried using the wscript.createobject("wscript.wshell"), but the generated an error. (wscript needed or something like that)
then i tried server.createobject... didn't work either.
then tried just createobject. error (activexobject can't create...)
i found this code somewhere
Code:
var oShell = new ActiveXObject("Shell.Application");
oShell.ShellExecute(document.Form1.elements(i).value,"","","open","1");
and i generate a permissions denied error.
without changing the browsers permission (if thats why the error is generrated) how can i open this file on the clients computer? (again file located on server)
Mr. Steve