473,405 Members | 2,287 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

RUNNING WINDOWS APP. NOTEPAD.EXE....

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
3 1885
"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Roger | last post by:
I've got some MS-windows (XP only?) related questions; hopefully someone can give me some advise. 1) Is there some way to make notepad to become the front window when it is started from within...
6
by: Jim | last post by:
I've just bought a new Windows Server 2003 and I am trying to move an exiting FrontPage website to this new machine. I can't get ASP pages to run. IIS 6.0 has been installed. From the snap-in,...
5
by: bob | last post by:
hello, how could i start a windows application (eg: wordpad, calc, notepad etc...) from a html page? thanks bob
0
by: Edward | last post by:
I'm trying to execute an application on the server side in asp.net. For a simple test, I wanted to run notepad.exe which I copied from the windows directory to my web app directory. Here's the...
5
by: mg | last post by:
System.Diagnostics.Process.Start("c:\\windows\\system32\\notepad.exe","c:\\x.txt"); launches x.txt in notepad What code will close this instance of notepad?
2
by: BLOOD... | last post by:
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"); ...
10
by: Sylvain Audet | last post by:
Hello! We have a Windows application that is using Crystal Reports reports containing Barcode fonts. Those reports are called through reflection into a Crystal Report Viewer and we need to have...
20
by: Bradley | last post by:
Hey all, Another convert to vb.net here. My vb6 program was an application launcher that checked for previous instances of said programs and would alert the user with a message box. I can't, for...
3
by: Xexon | last post by:
Hey Guys and thanks for this community it has helped me quite a bit so far :) However I ran into a problem that I couldn't find described anywhere so I go to you in hope of some help. I have a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.