Solved

Launch notepad from browser

Posted on 2001-09-03
8
519 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
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
 

Author Comment

by:leeayo
ID: 6452527
this will prompt me for save/open the application, i need to eliminate this...
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now