Solved

Launch notepad from browser

Posted on 2001-09-03
8
538 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Classic ASP application Will support SQL 2014 5 94
If-Then-Else ASP problem 6 67
ASP/VB email question 4 46
Connection to multiple databases 13 25
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…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

809 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