Solved

Launch notepad from browser

Posted on 2001-09-03
8
563 Views
Last Modified: 2007-12-19
Hi,

Does anyone know how to launch notepad from browser, without prompting you to save or run the exe file ??

Launching the notepad from client side, and not from the web server.

thanks...
0
Comment
Question by:leeayo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 5

Expert Comment

by:nilapenn
ID: 6452108
Yes you can do it using wscript activex object.

(eg)

<Script>
var ws=new ActivexObject("Wscript.Shell")
ws.Run("notepad")
</script>
0
 

Accepted Solution

by:
pritam_dewan earned 100 total points
ID: 6452466
If u want to load ur text file in the clients machine,just hv a link to ur text file and browser will load and launch notepad automatically.If u want just to load notepad,then hv a dummy(empty)txt file and hv the link.It will load notepad.Hope this will serve ur requirements.
0
 

Author Comment

by:leeayo
ID: 6452506
But i will have a problem, launching the notepad via a link will prompt me for either save/open the application...

0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

Author Comment

by:leeayo
ID: 6452527
this will prompt me for save/open the application, i need to eliminate this...
0
 

Expert Comment

by:pritam_dewan
ID: 6452604
It is not download that it would ask for save/open option.It will load the file in the present window of the browser.
0
 

Expert Comment

by:ComTech
ID: 6454024
leeayo, as per your request in Community Support, I cannot remove points that have been awarded.  What I will do is go to your account and add 100 points.

Then you will need to ask a NEW question in this Topic Area called *Points for nilapenn*  In the comment box, type *For your answer for my questio #20178003*  Then add 100 points, the Expert will see it and comment, when that happens, you will get an email notification, then accpt the answer.

Thanks,
ComTech
Community Suppport
0
 

Author Comment

by:leeayo
ID: 6455316
for pritam_dewan :

i need to eliminate the pop up box that ask for save/open option.

thanks..
0
 

Author Comment

by:leeayo
ID: 6455420
for nilapenn :

i have successfully launch the notepad from browser by creating active x object.

however, the line
new ActivexObject("Wscript.Shell")
wont be run successfully, if the user has disable downloading activex control in their browser security setting.

do u have any solutions for this ?

thanks...
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question