RUNNING WINDOWS APP. NOTEPAD.EXE....

B

BLOOD...

I want to run notepad.exe from ASP.NET (C#)
i am using javascript:
<script language="JScript">
function fnShellExecuteJ()
{
var objShell = new ActiveXObject("Shell.Application");

objShell.ShellExecute("notepad.exe", "", "", "open", 1);
}
</script>

ERROR: Permission Denied..


Please HELP ME!!:..

Thanks
 
P

Paul E Collins

BLOOD... said:
I want to run notepad.exe from ASP.NET (C#)
i am using javascript:
[...]
ERROR: Permission Denied..

Permission is denied because it's potentially dangerous.

Would you want Web pages to be able to run any program on your computer?

P.
 
B

BLOOD...

Yes...
actually probably word excel .....


Paul E Collins said:
BLOOD... said:
I want to run notepad.exe from ASP.NET (C#)
i am using javascript:
[...]
ERROR: Permission Denied..

Permission is denied because it's potentially dangerous.

Would you want Web pages to be able to run any program on your computer?

P.
 
P

phoenix

Knowing that they have VBA on board this would mean pretty much that they
have access to everything on your computer. The idea alone will give me
nightmares.

Yves

BLOOD... said:
Yes...
actually probably word excel .....


Paul E Collins said:
BLOOD... said:
I want to run notepad.exe from ASP.NET (C#)
i am using javascript:
[...]
ERROR: Permission Denied..

Permission is denied because it's potentially dangerous.

Would you want Web pages to be able to run any program on your computer?

P.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top