Select Categories Below
Advertisement
Start Your Own Q&A Site
Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.
Status: Open Points: 125 Time: 06:42 - Mar 13, 2008
mehdialavi57
I can not display notepad file,text file,... in a web page that has designed with ASP . I use the following code: Dim oScript Set oScript = Server.CreateObject("WSCRIPT.SHELL") Call oScript.Run ("cmd.exe /c c:\windows\system32\notepad.exe" , 0, True) but this code does not work.when run this code notepad window does not open for me.i want have a web page, that when run it, a exe file (for example notepad,calculator,word file,cmd,...) run and open (display) for me. please help me. thanks.
Categories:
Add Categories
When adding more than one category, separate them with commas.
PeterNZ
Date:: Mar 13, 2008
Time:: 20:29
The simple answer is: You can't! Security doesn't allow you to run an executable on the clients machine. Just imagine if it would be possible ... Cheers Peter
nidhi
Date:: Mar 18, 2008
Time:: 02:04
If using on IE, then you could perhaps use Launchinie? Read this for more info http://www.whirlywiryweb.com/q%2Flaunchi... If you want a kind of editor inside your html, you could use textarea then use some code which saves that entry into a text file (maybe have something that reads and populates it as well)
admin
Date:: Mar 04, 2009
Time:: 10:06
The question looks to be abandoned by the user who asked it. If no action is taken within 2 days, a Quomon Moderator will consider closing the question and distributing the points. The Quomon Team
sunrisedb2
Date:: May 24, 2010
Time:: 01:39
function runAppXP() { var shell = new ActiveXObject("WScript.shell"); shell.run("notepad.exe", 1, true); shell.Quit; shell = null; }
vidhya0288
Date:: Oct 07, 2011
Time:: 04:05
how to run asp files using notepad
Answer this Question
New User
Email:
Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address
Registered User
Username:
Password:
Forgot Your Password?
Enter your email address below and we will resend your login information to you.
Login Information Sent
Questions
How can i implement a "Command Prompt" with asp.
You have 100 characters to use
Rank
Expert
Points
1.
10354
2.
6493
3.
5596
4.
4848
5.
3487
6.
2840
7.
2770
8.
2303
9.
1820
10.
917
Register today to share your knowledge with the community and be recognized and rewarded for your contributions.
Register Here
"Psst, Quomon is a great site. Pass it on." Tell a Friend | Link To Us | Save to Delicious | Digg it
Language Options
English:
Español:
Sponsors
Questions and Answers Software