Removing The Search Box From IE7

by DanM 6. June 2008 01:35

Now as far as I’m concerned, the search box in the menu bar of IE7 is probably the feature I most use - Alt+D, Tab gets me there in half a second - but it takes up some screen realty I’d rather use for other purposes when it comes to taking screenshots for the book, so here’s how to remove it and then add it back again should you ever need to do so.

  1. Open RegEdit
  2. Find HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions or create it if it isn’t there already.
  3. Add a DWORD key called NoSearchBox.
  4. To turn off the search box, set this value to 1
  5. To turn it back on, set this value to 0

That is all.

Programming ASP.NET 3.5 First Draft Done

by DanM 9. April 2008 00:09

It was September 2007 when I started work on this book. The conversation had been innocent enough.

Fancy doing a quick update of our ASP.NET book? said John Osborn of O’Reilly. There’s not too much new in VS2008 and ASP.NET 3.5 this time round. Should take a couple of months and be out for Christmas.

Naively, I agreed with that sentiment and to update the whole darn thing with the guidance of Jesse Liberty and Dan Hurwitz, the authors of the previous edition of this book, signed the contract. Six months later and I’m proud to say that this blog represents the end of the main writing phase. And I’d like to state for the record that while there isn’t the fundamental change between ASP.NET v2.0 and v3.5 that exists between v1.0 and v2.0, there are still a large number of new pieces in the Microsoft web development puzzle that weren’t there before.

  • New ASP.NET Controls
  • AJAX Extensions
  • AJAX Control Toolkit
  • WCF Web Services
  • LINQ
  • VS2008
  • Vista and UAC fun
  • IIS 7.0
  • AdventureWorks - yes Northwind has been expunged
  • Tools & Add-ins - courtesy of James Avery and Jim Holmes; see if you can find them all!!

And, frustratingly, because they just wouldn’t come out of beta, there are a number of pieces for which we just had to draw a line in the sand and say we’ll have to wait for the next edition to cover them.

  • ASP.NET 3.5 Extensions (well, it’s previewed but no code samples)
  • IIS 7.0 Admin Pack (grr)
  • ADO.NET Data Services (or Astoria as its known)
  • SQL Server 2008 (it’ll be Feb March PDC honest!)

Still, at least there’ll be some new stuff to cram into the fifth edition which will be out day and date with VS2010 or whatever it’s called.

You can pre-order it on Amazon UK and Amazon US and probably many others by now.

Meanwhile, some notes on the first draft for those curious

Stats

  • Number of raw pages : 758, without screenshots or formatting to bulk it up further.
  • Approx number of pages when finished : 1050 ish?
  • Total size of first draft files according to SVN : 206 MB
  • Number of caffeinated drinks consumed whilst writing : about 4 a night = 600 or so
  • Number of times "Why am I doing this?" crossed my mind : thousands
  • Number of seconds paused before I agreed to do the project : none
  • Animal on cover : Some sort of stingray I think.
  • Wife acceptance factor highpoints : Day 1 when the book was started with "two months to go" & Day 222 after writing from 10am to 7.45am the following day so we could go on holiday 90 minutes later.
  • Wife acceptance factor lowpoint : Immediately after Christmas without a deadline and the book outline continuing to grow ever larger.
  • Number of ideas for the fifth edition : loads
  • Total duration of first draft : 222 days and of those,
    • actual days with some writing involved (2+ hours): 125
    • holidays : 14 (spent with no access to a computer)
    • writer’s block : 21 (directly after holidays trying to remember how to turn the computer back on and then thinking how pleasant an empty page looks)
    • days spent appeasing wife for abandoning her for an unwritten chapter : 50 or so

Should I Laugh Or Cry..?

by DanM 28. February 2008 21:58

My editor remembered I existed today and asked me when the book will be finished. Having tempered my immediate impulse to say ‘when its ready’ in a Charlton Heston style, and probably for the sake on my own sanity, I am now committed to a month of hell\no sleep. And then on April 1 I can go on holiday.

Ready for the interminable copyedit reviews. Someone wish me luck

Six Months

by DanM 17. February 2008 21:54

Bloody hell. I’ve been working on this book for six months now and am only 500 pages in. I need it to end.

Achievement Diary

by DanM 14. January 2008 09:06

Having spent several days trying to put 2007 into some positive spin, it would seem that the best I could get from it was to realise that treading water gets you nowhere. You do nothing. You get depressed and the year becomes a washout.

In an effort in remedy this, I now have a kitchen calendar in my study which is purely for me to document my achievements this year. Nothing else. And my aim is never to have a blank month. January already has three entries

  • Mortgage now under a milestone mark.
  • Now halfway through first draft of new book.
  • Completed tech review of a different book.

I don’t think it matters what you consider an achievement as long as in six months when you look back at it, you don’t immediately think “Why did I write that?” A £3 motivator. Eat your heart out lifehacker.

Powered by BlogEngine.NET 1.6.0.0
Theme by Mads Kristensen, adapted by Dan Maharry

About Dan

Dan Maharry Dan Maharry
Web developer at Co-operative Web and tech writer. More...
Creative Commons License View Dan's bookmarks on Delicious LinkedIn Facebook Facebook Last.fm
Last.fm Twitter Subscribe to Dans RSS Feed Download Dans OPML File Add blog to technorati favorites

RecentComments

Comment RSS