rohancragg - dotNet Blog

currently into CSLA and .Net 2.0

<August 2008>
SuMoTuWeThFrSa
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456


Navigation

Currently Reading

.NET

Reporting Services

SharePoint

General

Subscriptions

News

TestDriven.NET
Listed on BlogShares Subscribe with Bloglines

Post Categories



Friday, May 21, 2004 - Posts

NotePad2
I love NotePad2, you can do RegEx search/replace and loads more, but I have one suggestion. I can use the following Registry Key to add NotePad2 to my 'View Source' in Internet Explorer:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name]
@="c:\Program Files\NotePad2\Notepad2.exe"
BUT, I cannot find a way to make notepad2 open another instance of the progam. If I already have notepad2 running, a dialog asks me if I want to save the currently open file, which is not what I want, I want to have multiple notepad2 windows open.
 
the -n switch usually works, so I tried:
 
"c:\Program Files\NotePad2\Notepad2.exe" -n
 
and
 
"c:\Program Files\NotePad2\Notepad2.exe -n"
 
But no luck, so I emailed the author. I'll post here if I find a solution.
 
[Update: thanks everyone for the useful comments, in fact I emailed Flo about this issue and in fact he/she has decided to release version 1.0.10 with ReuseWindow off by default. Fast work! maybe it had already been on the TODO list?... some other interesting features now too - it just gets better!
 
Thanks especially to Wes for the Registry hack, useful for distributing to others in my team who might not think of this issue until they get to it, and might assume it's a bug:
 
Under [HKEY_CURRENT_USER\Software\Notepad2\Settings] you can add a new DWORD value with the name "ReuseWindow" and give it a value of 0. This will have it open a new window by default.]
 
[Update2: I found another post on Completely Replacing Notepad.exe]

posted Friday, May 21, 2004 9:18 AM by rohancragg with 12 Comments




Powered by Dot Net Junkies, by Telligent Systems