Skip to content
David Cumps

Survey

  • Microsoft
  • 2005

Survey is a Windows application I built in C# during my 2005 internship at Microsoft Belux, to process the feedback Microsoft collected after its events. Every person who finished a survey produced an XML file, and until then those files had to be worked through by hand; my mentors on the internship were Tom Mertens and Mieke De Ketelaere.

Reading the results. The application opens a folder of XML result files and deserialises each one into a Survey object with .NET’s XmlSerializer, using classes generated from an XSD with the xsd.exe code-generation tool. Results could also be delivered another way: together with a parser, I built an Outlook Extractor that pulled completed surveys straight out of Outlook by their subject line, instead of requiring the XML files to be collected by hand.

Three ways to look at an answer. All the questions of a survey show up in a treeview; double-clicking one displays its results. Each output format, a plain list, a pie chart and a pie chart with the average, is its own user control, so new ones could be added later without touching the rest of the application. At the time I wrote it there were three.

Excel at the press of a button. Results export to Excel through the ExcelXmlWriter library by CarlosAg, which writes the ExcelML format. The generated workbook gets a styled header and computes its percentages with native Excel formulas rather than fixed numbers, so a report stays correct if someone reopens and recalculates it. This let reports be generated as soon as results started coming in, with a single button press.

Technologies: C#, Windows Forms, XmlSerializer, XSD, Charting, XML, Outlook, ExcelXmlWriter, Excel.

Tom Mertens
During the few months of his internship, David clearly demonstrated profound interest in technology. He worked hard, was really motivated and proved to be a quick learner. David also successfully delivered several presentations.
Tom Mertens, Developer Audience & Product Marketing Manager, Microsoft
Mieke Geertrui De Ketelaere
During his internship, David has shown a very professional attitude towards his tasks given. Additionally, David is a great team player with a very respectful and correct approach towards other team members. His social character and his deep technical knowledge were very well recognised. I wish David all the best in his future job!
Mieke Geertrui De Ketelaere, Product Solution Manager, Microsoft

You May Also Like