Solved

Launch notepad from browser

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

752 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