Charles Petzold on writing books, reading books, and exercising the internal UTM

Recent Entries
< PreviousBrowse the ArchivesNext >
Subscribe to the RSS Feed

"Programming Windows Phone 7" Now Available!

October 28, 2010
New York, N.Y.

My new book, Programming Windows Phone 7, a thousand pages long, and a totally free download, is now available.

Programming Windows Phone 7

Have fun!



David Ratnasabapathy, Thu, 28 Oct 2010 15:39:03 -0400

Fantastic. In thanks, I just bought a copy of The Annotated Turing!

— Gene Reddick, Thu, 28 Oct 2010 16:02:18 -0400

Thank you for that excellent way of thanking me! — Charles

Was really looking into doing some stuff for the Windows Phone 7 as I know Direct3D9, 10, XNA & WPF.

Andrew, Thu, 28 Oct 2010 17:01:39 -0400

Congratulations !

Will there be a dead tree version ?

— mareek, Thu, 28 Oct 2010 17:50:12 -0400

As the Introduction mentions, there will be print-on-demand versions with full indexes. — Charles

Hi, great book, a thousand thanx for writing it. BUT: you cannot read anything except the toc (assume some special windows fonts) on a Mac or any iOS device - iPad iBook reader. All those devices just have black rows for 95% of the text.

Can you please update your book to be read on iOS devices? iPad is ideal for reading next to my dev machine!


— Marcus, Thu, 28 Oct 2010 18:34:57 -0400

I don't have anything to do with the book's publication (ie, the production of the PDF), but I'll let the publisher know. — Charles

Thank you for making this available. I am trying to learn programming for the first time and this will make things easier I hope

Stephen Borders, Thu, 28 Oct 2010 18:49:07 -0400

I have read your "App=Code+Makeup". Thank you for publish this new book freely!

Tong Da, Thu, 28 Oct 2010 22:21:04 -0400

Amazing. Congrats. You continue to be my hero.

Dean Kaplan, Thu, 28 Oct 2010 23:10:53 -0400

I was looking to buy this book. Not paying attention, I accidentally bought App=Code+Markup directly from O'Reilly...the book is 5 years old. Incidentally, I already had it on my bookshelf on as part of that subscription. Then I came back to your site and lo and behold, the book I was ACTUALLY looking for is now FREE! I can't get my money back on the O'Reilly order (not that I don't want to pay, but I already have it via my subscription) so in essence, I bought this book. Poetically fitting I think.

Gene, Thu, 28 Oct 2010 23:13:56 -0400

This is awesome! I've been waiting for this.. when will the hard cover version be available?

Prabhu, Thu, 28 Oct 2010 23:55:08 -0400

No hardcover is planned. Print-on-demand softcover versions are coming. — Charles

Many Many Thanks Great book for Great Start...

Good Work Charles Your book always helped me.

— Manmeet Barad, Fri, 29 Oct 2010 03:45:48 -0400

You've already established your place in Windows development history may times over, and this just cements it further.


— Philip the Duck, Fri, 29 Oct 2010 05:50:44 -0400

P.S. Any chance of an XPS version? PostScript is so 90s...


— Philip the Duck, Fri, 29 Oct 2010 05:52:08 -0400

I am informed by my publisher that an XPS version was intended but that the system they were using "barfed" on it. Maybe soon. — Charles

About the "Die Kunst zu Programmieren" book:

"Normally titles of foreign editions are similar to the English titles, but this one had to be changed because the pun no longer worked: The key of C# in music is known as cis in German."

That's not quite correct. C# as a note is well-known in Germany too. What I think is not working is the pun with "key" (if there is any really).

At least it would have ended up in a much too cumbersome and long German title if they had used "Schlüssel", because there are no easy prepositions to use with it ("im Schlüssel von C#" sounds awkward).

Other translations like "Notenschlüssel" or "Tonart" have only the musical meaning.

herzmeister der welten, Fri, 29 Oct 2010 06:47:31 -0400

Thanks for sharing the book for free!

— Ankit, Fri, 29 Oct 2010 07:17:09 -0400

Thank the Windows Phone 7 team for making this book possible! — Charles

Even though I won't be doing any programming on Windows Phone 7 I will still read this book. To do otherwise would break my Petzold reading streak. Thanks for all the work that went into writing this book!

Charles Feduke, Fri, 29 Oct 2010 11:24:09 -0400

What an incredible gift! Thank you for your hard work and effort. I've enjoyed so many of your books and am very excited to read this one.

— Tim, Sat, 30 Oct 2010 08:11:36 -0400

Thanks a lot sir.. You are really an inspiration, When I started my career in windows programming, The first book I was introduced to was "Programming Windows". From there on, I am just fan of your books.

Thanks one more time for the hard work and great effort.. God bless you.

— Himanshu, Sat, 30 Oct 2010 11:13:43 -0400

First of all, thank you for very good book! I have a fun reading it.

But I'd like to say that example with solution of quadratic equation is not correct!

Imaginary part exists ONLY when discriminant is less than zero. But in the application this case is not analyzed, assumed it is always less than zero (if not zero).

The correct code would be:

    if (discriminant == 0)
    Solution1 = new Complex(real, 0);
    HasTwoSolutions = false;

    if (discriminant < 0)
    Solution1 = new Complex(real, imaginary);
    Solution2 = new Complex(real, -imaginary);

    Solution1 = new Complex(real + imaginary, 0);
    Solution2 = new Complex(real - imaginary, 0);

Andrey, Mon, 1 Nov 2010 08:35:49 -0400

p> I don't want to nag but I am seriously disappointed again, why oh why you just focus on images, raster graphics and there is no information on playing and working with video streaming,consuming web services, using visual studio 2010 as development platform, authentication model etc. In fact every thing that makes development complete seems missing in this book. This brings me back to the haunting experience I had when I bought your xaml book couple of years back. Now I know why this book is for free as there is hardly any stuff anyone want to pay for.

Yes and I hope these comments are posted as it is....

— Kelvin, Mon, 1 Nov 2010 12:15:38 -0400

Thanks for this great book. I already read most of the excerpts on my Kindle DX and they worked fine. Now the final version has some problems with most of the larger images. They just don't show up. Would be great, if this could be fixed. Reading a 1000 pages book on the PC isn't really fun!

— Michael Fuerst, Mon, 1 Nov 2010 14:10:21 -0400

FYI I have no problem reading the book on a Mac using Adobe Reader. So, maybe it is Apple's problem.

— Carsten Hansen, Mon, 1 Nov 2010 16:14:02 -0400

Yes, for all concerned non-Windows folks out there...

You can't read the current PDF version of the book on the Mac or any iOS device UNLESS you are using the official Adobe Acrobat Reader. The issue appears to be with Apple's PDF rendering framework and affects all typical applications like Safari, iBooks, Preview, etc. Third party applications utilizing Apple's rendering process (like GoodReader for iPad) also exhibit this problem.

The bottom line: you can read this book on your Mac if you install Adobe Reader. You can't read it on your iPad/iPhone no matter what. Bummer!

— Nick Karasev, Tue, 2 Nov 2010 11:24:03 -0400

The publisher is aware of the problem and striving to fix it, as indicated in this blog entry:

—: Charles

Thanks for this! Great to get hold of some decent material FREE of charge :)

— peteski, Tue, 9 Nov 2010 04:23:05 -0500

Thank you so much for your great work!

— s_48k, Wed, 10 Nov 2010 14:20:14 -0500

Great book, would be nice to have a version of PDF formatted for ebook readers with smaller screens, like Kindle or Nook (with pages about half the size of regular pages). I really prefer to read book on Kindle, rather than on my PC or tablet, but since it does not refloat PDF, I print my docs to PDF with smaller pages.

— Michael, Sat, 20 Nov 2010 02:25:10 -0500

Perhaps you want to visit the Amazon pages for the forthcoming print-on-demand editions:


and click the "Tell the Publisher! I'd like to read this book on Kindle" link. As the author (rather than the publisher) I am not the person who makes this decision. — Charles

SilverlightSimpleNavigation doesn't compile for me. I get

    Error 1 Predefined type 'System.Object' is not defined or imported SilverlightSimpleNavigation

Al, Sat, 20 Nov 2010 12:46:15 -0500

That's pretty extreme. Just offhand, I'd guess that you were missing all the standard .NET references, which seems like a difficult thing to do. Do you have the Windows Phone 7 development tools installed? — Charles

Great book. i have gone through the thousand pages and found it was as easy as learning a,b,c...

I am a Microsoft Student Partner and i had to develop an application of WP7 using VS2010 and to my rescue, i navigated to your blog.


Zia Ul Haq, Sun, 21 Nov 2010 06:01:34 -0500

A great great book on WP7 development. I am a Microsoft Student Partner and i had to develop a WP7 app and i found the right choice by hitting your blog.

@Charles: you rock and so does MS.

Zia Ul Haq, Fri, 26 Nov 2010 14:36:50 -0500

Out of curiosity, why did you make this ebook free? Was just agreement with Microsoft attractive enough not to worry about royalties? Print on-demand approach doesn't seem to be quite common yet. Interestingly enough, I noticed at least 2 more people are writing books about Windows Phone 7 programming - Shawn Wildermuth and Daniel Vaughan. I believe, they are not alone. Were you also first with WPF book "Applications=Code+Markup" in 2006?

Sergey, Wed, 1 Dec 2010 01:09:15 -0500

Thanks for making it free. I wonder why you did so.

— Himanshu G, Thu, 31 Mar 2011 08:51:33 -0400

I didn't make it free; my publisher made it free. — Charles

Recent Entries
< PreviousBrowse the ArchivesNext >
Subscribe to the RSS Feed

(c) Copyright Charles Petzold