By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,671 Members | 1,393 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,671 IT Pros & Developers. It's quick & easy.

RUNNING WINDOWS APP. NOTEPAD.EXE....

P: n/a
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
Nov 15 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
"BLOOD..." <se**********@yahoo.com> wrote:
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.

--
www.CL4.org
Nov 15 '05 #2

P: n/a
Yes...
actually probably word excel .....
"Paul E Collins" <fi******************@CL4.org> wrote in message
news:c0**********@hercules.btinternet.com...
"BLOOD..." <se**********@yahoo.com> wrote:
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.

--
www.CL4.org

Nov 15 '05 #3

P: n/a
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..." <se**********@yahoo.com> schreef in bericht
news:O4**************@TK2MSFTNGP11.phx.gbl...
Yes...
actually probably word excel .....
"Paul E Collins" <fi******************@CL4.org> wrote in message
news:c0**********@hercules.btinternet.com...
"BLOOD..." <se**********@yahoo.com> wrote:
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.

--
www.CL4.org


Nov 15 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.