Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software


I am trying to work through NotePadCloneWithFile from Petzold's  "Programming Windows with C#".

On pg. 862 of the book, he shows a screenshot of the savefiledialog box with a dropdown list for "Encoding." However, when I run his code I don't get that.

Anybody out there know what's wrong with the code?



Charles Reich
Tuesday, May 11, 2004

Read the surrounding text paragraphs carefully (on page 861 and 862): the screenshot is from the real Notepad, not from NotepadClone.

Petzold explains that the Encoding field is a custom extension that his clone doesn't have, so he provides a menu item to the same effect.

Chris Nahr
Wednesday, May 12, 2004

Thanks Chris.

I complete misread that...

Charles Reich
Wednesday, May 12, 2004

*  Recent Topics

*  Fog Creek Home